Show / Hide Table of Contents

Class ImageArgs

Arguments for constructing an Image resource.

Inheritance
System.Object
InputArgs
ResourceArgs
ImageArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Docker
Assembly: Pulumi.Docker.dll
Syntax
public class ImageArgs : ResourceArgs

Properties

View Source

Build

The Docker build context, as a folder path or a detailed DockerBuild object.

Declaration
public InputUnion<string, DockerBuild> Build { get; set; }
Property Value
Type Description
InputUnion<System.String, DockerBuild>
View Source

ImageName

The qualified image name that will be pushed to the remote registry. Must be a supported image name for the target registry user. This name can include a tag at the end. If provided all pushed image resources will contain that tag as well.

Either ImageName or LocalImageName can have a tag. However, if both have a tag, then those tags must match.

Declaration
public Input<string> ImageName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

LocalImageName

The docker image name to build locally before tagging with image name. If not provided, it will be given the value of to ImageName. This name can include a tag at the end. If provided all pushed image resources will contain that tag as well.

Either ImageName or LocalImageName can have a tag. However, if both have a tag, then those tags must match.

Declaration
public Input<string> LocalImageName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Registry

Credentials for the docker registry to push to.

Declaration
public Input<ImageRegistry> Registry { get; set; }
Property Value
Type Description
Input<ImageRegistry>
View Source

SkipPush

Skip push flag.

Declaration
public Input<bool> SkipPush { get; set; }
Property Value
Type Description
Input<System.Boolean>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.