From 371b3bab948b495b6068ac8e077112282abca092 Mon Sep 17 00:00:00 2001 From: Bengt Wegner Date: Thu, 19 Sep 2024 09:29:39 +0200 Subject: [PATCH] Chore: Setup multi arch docker image Signed-off-by: Bengt Wegner --- .github/workflows/github_registry.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/github_registry.yml b/.github/workflows/github_registry.yml index 960da2c..2a96871 100644 --- a/.github/workflows/github_registry.yml +++ b/.github/workflows/github_registry.yml @@ -26,6 +26,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v4.1.7 # 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. + # https://github.com/docker/setup-qemu-action + - name: Set up QEMU + uses: docker/setup-qemu-action@v3.2.0 + # https://github.com/docker/setup-buildx-action + - name: Set up Docker Buildx + id: buildx + uses: docker/setup-buildx-action@v3.6.1 - name: Log in to the Container registry uses: docker/login-action@v3.3.0 with: @@ -49,6 +56,7 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + platforms: linux/amd64,linux/arm64 # 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)." - name: Generate artifact attestation