Skip to content

Commit

Permalink
ci: only use linux/amd64 for docker image build
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed Jun 15, 2024
1 parent d232a87 commit 428dac6
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 @@ -42,7 +42,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
platforms: ${{ startsWith(github.ref, 'refs/tags/v') && 'linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64' || 'linux/amd64' }}
platforms: ${{ startsWith(github.ref, 'refs/tags/v') && 'linux/amd64' }}
file: ./docker/Dockerfile
context: .
push: ${{ github.event_name != 'pull_request' }}
Expand Down

0 comments on commit 428dac6

Please sign in to comment.