diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea8dc98509..0584c95ce0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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)