Skip to content

Commit

Permalink
Build arm64 for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcgary committed Nov 22, 2024
1 parent 3a41981 commit f06546e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
REPOSITORY: ${{ github.event.repository.name }}
run: |
VERSION=$(cat .release_version)
if [[ $GITHUB_REF == refs/heads/master ]]; then
if [[ $GITHUB_REF == refs/heads/master || $GITHUB_REF == refs/tags/* ]]; then
docker buildx build --platform "linux/amd64,linux/arm64" -t $REGISTRY/$REPOSITORY:$VERSION -t $REGISTRY/$REPOSITORY:latest --push .
else
docker buildx build --platform "linux/amd64" -t $REGISTRY/$REPOSITORY:$VERSION --push .
Expand Down

0 comments on commit f06546e

Please sign in to comment.