Skip to content

Commit

Permalink
Try registry cache
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Oct 6, 2024
1 parent d6595e0 commit 27c7b08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
tags: |
${{ env.REGISTRY }}/${{ env.REPO_NAME }}/${{ matrix.image }}:${{ steps.meta.outputs.tag }}
${{ env.REGISTRY }}/${{ env.REPO_NAME }}/${{ matrix.image }}:latest
cache-from: type=gha
cache-to: type=gha,mode=max
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.REPO_NAME }}/${{ matrix.image }}:latest
cache-to: type=inline

# # This step generates an artifact attestation for the image, which is an unforgeable statement about where and how it was built. It increases supply chain security for people who consume the image. For more information, see "[AUTOTITLE](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds)."
# - name: Generate artifact attestation
Expand Down

0 comments on commit 27c7b08

Please sign in to comment.