Skip to content

Commit

Permalink
workflow: docker: build for arm64 (+amd64) and disable provenance att…
Browse files Browse the repository at this point in the history
…estation
  • Loading branch information
jesteria committed Aug 23, 2023
1 parent 5f4be8f commit a9cd378
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ jobs:
ghcr.io/${{ github.repository }}:${{ needs.setup.outputs.release-tag }}-jammy-py310
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

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

Expand All @@ -106,12 +109,14 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
push: true
build-args: |
APP_VERSION=${{ needs.setup.outputs.release-tag }}
BUILDER_VERSION=${{ matrix.image.builder_name }}
labels: org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
tags: ${{ matrix.image.tags }}
platforms: linux/amd64,linux/arm64
provenance: false
push: true

- name: Write to summary
env:
Expand Down

0 comments on commit a9cd378

Please sign in to comment.