Skip to content

Commit

Permalink
image build linux/amd64 only for dev builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed May 25, 2024
1 parent c768c29 commit 4212d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v4
with:
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
platforms: $${{ startsWith(github.ref, 'refs/tags/v') && 'linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64' || 'linux/amd64' }}
file: ./docker/Dockerfile
context: .
push: ${{ github.event_name != 'pull_request' }}
Expand Down

0 comments on commit 4212d56

Please sign in to comment.