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:
2
sdk/dotnet/Inputs/CacheFromGitHubActionsArgs.cs
generated
2
sdk/dotnet/Inputs/CacheFromGitHubActionsArgs.cs
generated
@@ -54,7 +54,7 @@ namespace Pulumi.DockerBuild.Inputs
|
||||
|
||||
public CacheFromGitHubActionsArgs()
|
||||
{
|
||||
Scope = Utilities.GetEnv("buildkit") ?? "";
|
||||
Scope = "buildkit";
|
||||
Token = Utilities.GetEnv("ACTIONS_RUNTIME_TOKEN") ?? "";
|
||||
Url = Utilities.GetEnv("ACTIONS_CACHE_URL") ?? "";
|
||||
}
|
||||
|
||||
2
sdk/dotnet/Inputs/CacheToGitHubActionsArgs.cs
generated
2
sdk/dotnet/Inputs/CacheToGitHubActionsArgs.cs
generated
@@ -68,7 +68,7 @@ namespace Pulumi.DockerBuild.Inputs
|
||||
{
|
||||
IgnoreError = false;
|
||||
Mode = Pulumi.DockerBuild.CacheMode.Min;
|
||||
Scope = Utilities.GetEnv("buildkit") ?? "";
|
||||
Scope = "buildkit";
|
||||
Token = Utilities.GetEnv("ACTIONS_RUNTIME_TOKEN") ?? "";
|
||||
Url = Utilities.GetEnv("ACTIONS_CACHE_URL") ?? "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user