From 4de61547319d4c672a2d6d62124c402851e7170d Mon Sep 17 00:00:00 2001 From: Gary Yendell Date: Wed, 31 Jul 2024 15:53:48 +0000 Subject: [PATCH] Workaround build-push-action download-artifact incompatibility --- .github/workflows/_container.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_container.yml b/.github/workflows/_container.yml index 4857ee9..da5e493 100644 --- a/.github/workflows/_container.yml +++ b/.github/workflows/_container.yml @@ -25,7 +25,9 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build and export to Docker local cache - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 + env: + DOCKER_BUILD_RECORD_UPLOAD: false with: context: . # Need load and tags so we can test it below @@ -46,7 +48,9 @@ jobs: - name: Push cached image to container registry if: github.ref_type == 'tag' - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 + env: + DOCKER_BUILD_RECORD_UPLOAD: false # This does not build the image again, it will find the image in the # Docker cache and publish it with: