Skip to content

Commit

Permalink
Fix #345 - Build ARM64 image. (#346)
Browse files Browse the repository at this point in the history
* Fix #245 - Build ARM64 image.

* Attempt to work around: docker/buildx#59

* Only build arm64 on release.

---------

Co-authored-by: Laurent Quérel <l.querel@f5.com>
  • Loading branch information
jsuereth and lquerel authored Sep 9, 2024
1 parent ca12b71 commit cdea78f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Extract metadata (tags, labels) for Docker
Expand Down Expand Up @@ -48,6 +50,7 @@ jobs:
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
with:
push: true
platforms: linux/amd64,linux/arm64
provenance: mode=max
sbom: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit cdea78f

Please sign in to comment.