Skip to content

Commit e347b61

Browse files
committed
Say why we use gha backend vs registry
1 parent 44acf8b commit e347b61

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/docker.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,11 @@ jobs:
6565
labels: "gitsha1=${{ github.sha }}"
6666
tags: "${{ steps.set-tag.outputs.tags }}"
6767
platforms: linux/amd64,linux/arm64
68+
# Cache to GitHub Actions backend (which is evicted after 7 days).
69+
# This doesn't require authentication (unlike a registry), so works
70+
# well with external PRs.
71+
#
72+
# This backend does prevent workflows on other repos from accessing it,
73+
# but that is not necessary right now.
6874
cache-from: type=gha
6975
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)