Skip to content

Commit

Permalink
build for arm64v8 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewPaglusch committed Feb 13, 2024
1 parent 944df8a commit 5a1edc6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write
strategy:
matrix:
include:
- dockerfile: Dockerfile
platform: linux/amd64
- dockerfile: arm.Dockerfile
platform: linux/arm64/v8

steps:
- name: Checkout repository
Expand Down Expand Up @@ -69,8 +76,8 @@ jobs:
uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825
with:
context: .
file: docker/Dockerfile
file: docker/${{ matrix.dockerfile }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

platforms: ${{ matrix.platform }}

0 comments on commit 5a1edc6

Please sign in to comment.