Skip to content

Commit 29202c9

Browse files
n3rdc4ptnCopilot
andauthored
feat: add multi-arch release images (#134)
Co-authored-by: Copilot <[email protected]>
1 parent 6d84a60 commit 29202c9

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/main.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ jobs:
5656
platforms: linux/amd64,linux/arm64
5757
push: true
5858
sbom: true
59-
provenance: mode=max
6059
tags: ${{ steps.meta.outputs.tags }}
6160
labels: ${{ steps.meta.outputs.labels }}
6261
annotations: ${{ steps.meta.outputs.annotations }}

.github/workflows/on-release.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,20 @@ jobs:
5555
username: ${{ github.actor }}
5656
password: ${{ secrets.GITHUB_TOKEN }}
5757

58+
- name: Set up QEMU
59+
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 #v3.6.0
60+
61+
- name: Set up Docker Buildx
62+
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 #v3.10.0
63+
5864
- name: Build and push Docker image
5965
id: push
6066
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
6167
with:
6268
context: .
69+
platforms: "linux/amd64,linux/arm64"
6370
push: true
6471
sbom: true
65-
provenance: mode=max
6672
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest,${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.event.inputs.nextVersion }}
6773

6874
- name: Create Release with autogenerated release notes

0 commit comments

Comments
 (0)