diff --git a/.github/workflows/docker-pr.yml b/.github/workflows/docker-pr.yml index ddba9b6..f5cff74 100644 --- a/.github/workflows/docker-pr.yml +++ b/.github/workflows/docker-pr.yml @@ -77,8 +77,8 @@ jobs: platforms: linux/amd64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha,scope=${{ matrix.container.name }} - cache-to: type=gha,mode=max,scope=${{ matrix.container.name }} + cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ github.repository }}/development:${{ matrix.container.name }}-buildcache + cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ github.repository }}/development:${{ matrix.container.name }}-buildcache,mode=max - name: Get image reference for scan id: scanref diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index eaa0745..976fad5 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -73,8 +73,8 @@ jobs: CONNECT_CLIENT_VERSION=${{ inputs.connect_client_version || '0.9' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha,scope=${{ inputs.container }} - cache-to: type=gha,mode=max,scope=${{ inputs.container }} + cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ github.repository }}/${{ inputs.container }}:buildcache + cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ github.repository }}/${{ inputs.container }}:buildcache,mode=max - name: Create GitHub Release uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8