Skip to content

Commit 4f65e2d

Browse files
committed
gha cache: reload expired cache URLs
In some conditions there can be a pause between initial load of the entry (that already contains signed download URL even though we don't need it yet) and by the time cache is actually downloaded in the end of the build. One such case seems to be accessing SBOM scanner layers after the main build is completed. Signed URL is only valid for 10min and if more time has passed then old URL may receive 403 error. Signed-off-by: Tonis Tiigi <[email protected]>
1 parent 91ff73e commit 4f65e2d

File tree

2 files changed

+38
-10
lines changed

2 files changed

+38
-10
lines changed

vendor/github.com/tonistiigi/go-actions-cache/cache.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/tonistiigi/go-actions-cache/cache_v2.go

Lines changed: 37 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)