Use 'buildkit' as default scope (#516)
This PR updates the schema to use the correct default value for `scope` in the GHA caching options. This should be effectively a no-op. From: https://docs.docker.com/build/cache/backends/gha/ <img width="892" alt="image" src="https://github.com/user-attachments/assets/690cde79-e30e-4085-81fd-1c9dc1c6d7e9" /> Closes #496
This commit is contained in:
@@ -157,7 +157,7 @@ type CacheFromGitHubActions struct {
|
||||
func (c *CacheFromGitHubActions) Annotate(a infer.Annotator) {
|
||||
a.SetDefault(&c.URL, "", "ACTIONS_CACHE_URL")
|
||||
a.SetDefault(&c.Token, "", "ACTIONS_RUNTIME_TOKEN")
|
||||
a.SetDefault(&c.Scope, "", "buildkit")
|
||||
a.SetDefault(&c.Scope, "buildkit")
|
||||
|
||||
a.Describe(&c.URL, dedent(`
|
||||
The cache server URL to use for artifacts.
|
||||
|
||||
Reference in New Issue
Block a user