Fixes #75 Arguments URL and Token have been removed but `$ACTIONS_CACHE_URL` and `$ACTIONS_RUNTIME_TOKEN` env variables could be injected if desired. --------- Co-authored-by: Bryce Lampe <bryce@pulumi.com>
52 lines
1.5 KiB
C#
Generated
52 lines
1.5 KiB
C#
Generated
// *** WARNING: this file was generated by pulumi-language-dotnet. ***
|
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.Immutable;
|
|
using System.Threading.Tasks;
|
|
using Pulumi.Serialization;
|
|
|
|
namespace Pulumi.DockerBuild.Outputs
|
|
{
|
|
|
|
/// <summary>
|
|
/// Recommended for use with GitHub Actions workflows.
|
|
///
|
|
/// An action like `crazy-max/ghaction-github-runtime` is recommended to expose
|
|
/// appropriate credentials to your GitHub workflow.
|
|
/// </summary>
|
|
[OutputType]
|
|
public sealed class CacheToGitHubActions
|
|
{
|
|
/// <summary>
|
|
/// Ignore errors caused by failed cache exports.
|
|
/// </summary>
|
|
public readonly bool? IgnoreError;
|
|
/// <summary>
|
|
/// The cache mode to use. Defaults to `min`.
|
|
/// </summary>
|
|
public readonly Pulumi.DockerBuild.CacheMode? Mode;
|
|
/// <summary>
|
|
/// The scope to use for cache keys. Defaults to `buildkit`.
|
|
///
|
|
/// This should be set if building and caching multiple images in one
|
|
/// workflow, otherwise caches will overwrite each other.
|
|
/// </summary>
|
|
public readonly string? Scope;
|
|
|
|
[OutputConstructor]
|
|
private CacheToGitHubActions(
|
|
bool? ignoreError,
|
|
|
|
Pulumi.DockerBuild.CacheMode? mode,
|
|
|
|
string? scope)
|
|
{
|
|
IgnoreError = ignoreError;
|
|
Mode = mode;
|
|
Scope = scope;
|
|
}
|
|
}
|
|
}
|