Skip to content

Commit

Permalink
feat: docker build for arm (#1947)
Browse files Browse the repository at this point in the history
  • Loading branch information
pradel authored Apr 16, 2024
1 parent 5d69c7c commit 2c526fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,9 @@ jobs:
@semantic-release/exec@6.0.3
conventional-changelog-conventionalcommits@6.1.0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down Expand Up @@ -927,6 +930,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
platforms: ${{ github.ref == 'refs/heads/master' && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# Only push if (there's a new release on main branch, or if building a non-main branch) and (Only run on non-PR events or only PRs that aren't from forks)
Expand Down

0 comments on commit 2c526fc

Please sign in to comment.