// *** 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.Inputs
{
///
/// 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.
///
public sealed class CacheToGitHubActionsArgs : global::Pulumi.ResourceArgs
{
///
/// Ignore errors caused by failed cache exports.
///
[Input("ignoreError")]
public Input? IgnoreError { get; set; }
///
/// The cache mode to use. Defaults to `min`.
///
[Input("mode")]
public Input? Mode { get; set; }
///
/// 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.
///
[Input("scope")]
public Input? Scope { get; set; }
public CacheToGitHubActionsArgs()
{
IgnoreError = false;
Mode = Pulumi.DockerBuild.CacheMode.Min;
Scope = "buildkit";
}
public static new CacheToGitHubActionsArgs Empty => new CacheToGitHubActionsArgs();
}
}