From 4655684b49a816639eeb4aab6669d59644f82308 Mon Sep 17 00:00:00 2001 From: Googol Lee Date: Fri, 13 Sep 2024 13:41:39 +0200 Subject: [PATCH] Fix cache flag in dependencies workflow. (#1050) --- .github/workflows/dependencies.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index e942b335..3df4f163 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -49,6 +49,7 @@ jobs: images: ${{ env.DOCKER_IMAGE }} # Docker tags based on the following events/attributes tags: | + type=raw,value=latest type=sha - name: Build and push @@ -62,7 +63,7 @@ jobs: labels: ${{ steps.docker_meta.outputs.labels }} cache-from: ${{ env.IS_CACHING == 'true' && 'type=gha' }} cache-to: ${{ env.IS_CACHING == 'true' && 'type=gha,mode=max' }} - no-cache: ${{ ! env.IS_CACHING }} + no-cache: ${{ env.IS_CACHING != 'true' }} sbom: true provenance: mode=max annotations: ${{ steps.docker_meta.outputs.annotations }}