From 0461de3eab380ca62a81798fcf65dc279eedd6a3 Mon Sep 17 00:00:00 2001 From: Elio Bischof Date: Fri, 20 Jun 2025 09:28:52 +0200 Subject: [PATCH] cache compose tests --- .github/workflows/test.yml | 3 ++- scripts/run_or_skip.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8ad0290e75..906343794c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -64,7 +64,8 @@ jobs: # latest if branch is main, otherwise image version which is the pull request number BAKE_CLI: depot bake DEPOT_PROJECT_ID: jp837jn3fm - FORCE: ${{ github.event.inputs.clean-run-caches == 'true' }} + FORCE: true +# FORCE: ${{ github.event.inputs.clean-run-caches == 'true' }} - name: Save Run Caches uses: actions/cache/save@v4 with: diff --git a/scripts/run_or_skip.sh b/scripts/run_or_skip.sh index 9557d481d0..60c22f4caa 100755 --- a/scripts/run_or_skip.sh +++ b/scripts/run_or_skip.sh @@ -25,7 +25,7 @@ inspect_image() { get_digest() { local image=$1 - echo "id=$(inspect_image $image '{{ .Id }}'),digest=$(inspect_image $image '{{ index RepoDigests 0 }}')" + echo "id=$(inspect_image $image '{{ .Id }}'),digest=$(inspect_image $image '{{ index RepoDigests 0 }}'),json=$(inspect_image $image '{{ json . }}' | base64 --wrap 0)" } get_image_digests() {