From 9dcb640f52b6baaa0e78b716c5d34e816cc9a9a9 Mon Sep 17 00:00:00 2001 From: Jakob Lichterfeld Date: Sat, 12 Apr 2025 14:10:00 +0200 Subject: [PATCH] Revert "ci: ensure ghcr images build correctly even if branch contains backslash" This reverts commit b81dc620d2e09a96bc59d7997133be6349cdc32d. --- .github/actions/build/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/build/action.yaml b/.github/actions/build/action.yaml index 4ce096c9..6bf0d082 100644 --- a/.github/actions/build/action.yaml +++ b/.github/actions/build/action.yaml @@ -59,8 +59,8 @@ runs: platforms: ${{ matrix.platform }} labels: ${{ steps.meta.outputs.labels }} tags: ${{ steps.docker_meta.outputs.tags }} - cache-from: type=registry,ref=ghcr.io/${{ inputs.repository }}:buildcache-${{ matrix.cache_id }}-${{ replace(inputs.version, '/', '-') }} - cache-to: type=registry,ref=ghcr.io/${{ inputs.repository }}:buildcache-${{ matrix.cache_id }}-${{ replace(inputs.version, '/', '-') }},mode=max + cache-from: type=registry,ref=ghcr.io/${{ inputs.repository }}:buildcache-${{ matrix.cache_id }}-${{ inputs.version }} + cache-to: type=registry,ref=ghcr.io/${{ inputs.repository }}:buildcache-${{ matrix.cache_id }}-${{ inputs.version }},mode=max outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true - name: Export digest shell: bash