Skip to content

Commit

Permalink
ci: add arm64 platform to container image build workflow (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock authored Jun 6, 2024
1 parent b4516a3 commit bc32406
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

# Setup QEMU emulator to build multi-arch images
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

# Configure Buildx for Docker build
# https://github.com/docker/setup-buildx-action
- name: Set up Buildx
uses: docker/setup-buildx-action@v3

# Build and push Docker image with Buildx
# https://github.com/docker/build-push-action
- name: Build and push Docker image
Expand All @@ -45,3 +55,4 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: 'linux/amd64,linux/arm64'

0 comments on commit bc32406

Please sign in to comment.