diff --git a/build.sh b/build.sh index 45c1b70..c47959d 100755 --- a/build.sh +++ b/build.sh @@ -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" \ No newline at end of file +docker push "digitalspacestudio/linuxbrew:latest"