Skip to content

Commit

Permalink
build for all platforms upon release
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Nov 29, 2024
1 parent 52eeb0b commit ede6856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:
PLATFORMS: linux/amd64
PLATFORMS_PUSH: linux/amd64,linux/arm64
# Only push if this is main, otherwise we just want to build
BUILD_FOR_ALL_PLATFORMS: ${{ github.ref == 'refs/heads/main' }}
BUILD_FOR_ALL_PLATFORMS: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }}

jobs:
docker-latest:
Expand Down

0 comments on commit ede6856

Please sign in to comment.