Skip to content

Commit 371b3ba

Browse files
committed
Chore: Setup multi arch docker image
Signed-off-by: Bengt Wegner <Jochen.Wegner@ibm.com>
1 parent 12ff2ed commit 371b3ba

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/github_registry.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ jobs:
2626
- name: Checkout repository
2727
uses: actions/checkout@v4.1.7
2828
# Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here.
29+
# https://github.com/docker/setup-qemu-action
30+
- name: Set up QEMU
31+
uses: docker/setup-qemu-action@v3.2.0
32+
# https://github.com/docker/setup-buildx-action
33+
- name: Set up Docker Buildx
34+
id: buildx
35+
uses: docker/setup-buildx-action@v3.6.1
2936
- name: Log in to the Container registry
3037
uses: docker/login-action@v3.3.0
3138
with:
@@ -49,6 +56,7 @@ jobs:
4956
push: true
5057
tags: ${{ steps.meta.outputs.tags }}
5158
labels: ${{ steps.meta.outputs.labels }}
59+
platforms: linux/amd64,linux/arm64
5260

5361
# This step generates an artifact attestation for the image, which is an unforgeable statement about where and how it was built. It increases supply chain security for people who consume the image. For more information, see "[AUTOTITLE](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds)."
5462
- name: Generate artifact attestation

0 commit comments

Comments
 (0)