From f2d409c4efeee5fb10f3e460ec7ec3dc47687b43 Mon Sep 17 00:00:00 2001 From: Phillip Wirth Date: Mon, 20 Jan 2025 15:39:18 +0100 Subject: [PATCH] BC-8763 workaround for actions/build-push-action@v6 as it appears to be incompatible with actions/download-artifact@v4 / https://github.com/cloudposse/github-action-matrix-outputs-read/issues/29#issuecomment-2178913317 see https://github.com/docker/build-push-action/issues/1167 in short if one downloads an artifact that is not of type zip it might/will fail to download so most of the times this https://github.com/actions/toolkit/pull/1874 might resolve the whole mess --- .github/workflows/push.yml | 4 +++- .github/workflows/tag.yml | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index cabef2a..d356324 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -61,7 +61,9 @@ jobs: pull: true tags: ghcr.io/${{ github.repository }}:${{ github.sha }} labels: ${{ steps.docker_meta_img.outputs.labels }} - + env: + DOCKER_BUILD_RECORD_UPLOAD: false + - name: Install Cosign uses: sigstore/cosign-installer@v3.7.0 diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index daf236a..2c7601b 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -48,6 +48,8 @@ jobs: pull: true tags: ${{ steps.docker_meta_img.outputs.tags }} labels: ${{ steps.docker_meta_img.outputs.labels }} + env: + DOCKER_BUILD_RECORD_UPLOAD: false - name: Install Cosign