From a674691b7038d0866fb784fdb24e498285f3c404 Mon Sep 17 00:00:00 2001 From: Phillip Wirth Date: Mon, 20 Jan 2025 16:17:25 +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 | 2 ++ .github/workflows/tag.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index fc754e42..f78bb65e 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -60,6 +60,8 @@ jobs: - name: Build and push ${{ github.repository }} if: ${{ env.IMAGE_EXISTS == 0 }} uses: docker/build-push-action@v6 + env: + DOCKER_BUILD_RECORD_UPLOAD: false env: DOCKER_BUILD_RECORD_UPLOAD: false with: diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 9042e1d4..b1840a49 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -40,6 +40,8 @@ jobs: - name: Build and push ${{ github.repository }} uses: docker/build-push-action@v6 + env: + DOCKER_BUILD_RECORD_UPLOAD: false with: context: . file: ./Dockerfile