Skip to content

Commit

Permalink
multiarch
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeycherepanov committed May 20, 2021
1 parent 99716a6 commit c05a1a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
cd $(dirname $0)
BREW_VERSION=$(curl -L --silent https://api.github.com/repos/Homebrew/brew/releases | jq -r '.[].tag_name' | head -1)
docker build --build-arg BREW_VERSION=${BREW_VERSION} -t digitalspacestudio/linuxbrew:${BREW_VERSION} .
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --build-arg BREW_VERSION=${BREW_VERSION} -t digitalspacestudio/linuxbrew:${BREW_VERSION} .
docker tag "digitalspacestudio/linuxbrew:${BREW_VERSION}" "digitalspacestudio/linuxbrew:latest"
docker push "digitalspacestudio/linuxbrew:${BREW_VERSION}"
docker push "digitalspacestudio/linuxbrew:latest"
docker push "digitalspacestudio/linuxbrew:latest"

0 comments on commit c05a1a5

Please sign in to comment.