diff --git a/.github/workflows/container-build.yml b/.github/workflows/container-build.yml index 26956c4..8d9f9e8 100644 --- a/.github/workflows/container-build.yml +++ b/.github/workflows/container-build.yml @@ -48,9 +48,11 @@ jobs: tags: | ${{ steps.registry.outputs.url }}/${{ github.repository }}:latest ${{ steps.registry.outputs.url }}/${{ github.repository }}:${{ github.sha }} - cache-from: type=gha - cache-to: type=gha,mode=max - + cache-from: type=registry,ref=${{ steps.registry.outputs.url }}/${{ github.repository }}:buildcache + cache-to: type=registry,ref=${{ steps.registry.outputs.url }}/${{ github.repository }}:buildcache,mode=max + #cache-from: type=gha + #cache-to: type=gha,mode=max + # --- AUTOMATIC REPOSITORY LINKING --- # This label adds an OCI annotation that Gitea uses to automatically # link the package to the repository source code.