From e4e56baecbebeb875517329eceb21db80efe66d9 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Thu, 29 Feb 2024 19:35:32 +0100 Subject: [PATCH] Fix(ci): Scope tag must not contain equals sign, use hyphen separator (#1205) Thanks @theosanderson for pointing it out. Not sure why we only noticed this now. --- .github/workflows/config-preprocessor-build.yml | 4 ++-- .github/workflows/keycloakify-build.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/config-preprocessor-build.yml b/.github/workflows/config-preprocessor-build.yml index 8ebe1749b..cdcefae42 100644 --- a/.github/workflows/config-preprocessor-build.yml +++ b/.github/workflows/config-preprocessor-build.yml @@ -48,5 +48,5 @@ jobs: context: ./kubernetes/config-processor push: true tags: ${{ steps.dockerMetadata.outputs.tags }} - cache-from: type=gha,scope=config-preprocessor=${{ github.ref }} - cache-to: type=gha,mode=max,scope=config-preprocessor=${{ github.ref }} + cache-from: type=gha,scope=config-preprocessor-${{ github.ref }} + cache-to: type=gha,mode=max,scope=config-preprocessor-${{ github.ref }} diff --git a/.github/workflows/keycloakify-build.yml b/.github/workflows/keycloakify-build.yml index 660e968c5..111d7b9ae 100644 --- a/.github/workflows/keycloakify-build.yml +++ b/.github/workflows/keycloakify-build.yml @@ -56,8 +56,8 @@ jobs: context: ./keycloak/keycloakify push: true tags: ${{ steps.dockerMetadata.outputs.tags }} - cache-from: type=gha,scope=keycloakify=${{ github.ref }} - cache-to: type=gha,mode=max,scope=keycloakify=${{ github.ref }} + cache-from: type=gha,scope=keycloakify-${{ github.ref }} + cache-to: type=gha,mode=max,scope=keycloakify-${{ github.ref }} - name: Tag and push image if cache hit if: env.CACHE_HIT == 'true' run: |