From bf662b1ed4e9a8941e98951313ca820f6bb06ef8 Mon Sep 17 00:00:00 2001 From: skuethe <56306041+skuethe@users.noreply.github.com> Date: Thu, 24 Feb 2022 12:36:10 +0100 Subject: [PATCH] fix: add support for other platforms before executing docker buildx (#3296) --- .github/workflows/image-build.yaml | 9 +++++++++ .github/workflows/reuse.yaml | 3 +++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/image-build.yaml b/.github/workflows/image-build.yaml index 024d4b90e2..3dda4a7fe0 100644 --- a/.github/workflows/image-build.yaml +++ b/.github/workflows/image-build.yaml @@ -83,6 +83,9 @@ jobs: restore-keys: | ${{ runner.os }}-go- + - name: Set up QEMU + uses: docker/setup-qemu-action@27d0a4f181a40b142cce983c5393082c365d1480 # v1.2.0 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@94ab11c41e45d028884a99163086648e898eed25 # v1.6.0 id: buildx @@ -116,6 +119,9 @@ jobs: restore-keys: | ${{ runner.os }}-go- + - name: Set up QEMU + uses: docker/setup-qemu-action@27d0a4f181a40b142cce983c5393082c365d1480 # v1.2.0 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@94ab11c41e45d028884a99163086648e898eed25 # v1.6.0 id: buildx @@ -158,6 +164,9 @@ jobs: restore-keys: | ${{ runner.os }}-go- + - name: Set up QEMU + uses: docker/setup-qemu-action@27d0a4f181a40b142cce983c5393082c365d1480 # v1.2.0 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@94ab11c41e45d028884a99163086648e898eed25 # v1.6.0 id: buildx diff --git a/.github/workflows/reuse.yaml b/.github/workflows/reuse.yaml index b6734432b4..c5b7c2db72 100644 --- a/.github/workflows/reuse.yaml +++ b/.github/workflows/reuse.yaml @@ -70,6 +70,9 @@ jobs: username: ${{secrets.registry_username}} password: ${{secrets.registry_password}} + - name: Set up QEMU + uses: docker/setup-qemu-action@27d0a4f181a40b142cce983c5393082c365d1480 # v1.2.0 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@94ab11c41e45d028884a99163086648e898eed25 # v1.6.0 id: buildx