From b2fdbab5fd3174bbc720a416d13d39b161ba58f5 Mon Sep 17 00:00:00 2001 From: jaal2001 Date: Thu, 7 May 2026 08:34:56 +0200 Subject: [PATCH] Update cache configuration in build-images.yml Removed cache-from and cache-to options and added provenance flag. This is possible related to having a "manifest unknown" after pushing new docker images. Hint from: https://github.com/jlelse/GoBlog/issues/60 --- .github/workflows/build-images.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 4a468ae..33589ab 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -120,7 +120,7 @@ jobs: push: false load: true tags: opencloudtouch:test - cache-from: type=gha,scope=trivy-scan + provenance: false cache-to: type=gha,mode=max,scope=trivy-scan - name: Run Trivy vulnerability scanner (blocking) @@ -207,8 +207,7 @@ jobs: platforms: ${{ matrix.platform }} push: true labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha,scope=build-${{ matrix.platform }} - cache-to: type=gha,mode=max,scope=build-${{ matrix.platform }} + provenance: false outputs: type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true - name: Export digest