Class ImageArgs
Arguments for constructing an Image resource.
Inherited Members
Namespace: Pulumi.Docker
Assembly: Pulumi.Docker.dll
Syntax
public class ImageArgs : ResourceArgs
Properties
View SourceBuild
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> |
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> |
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> |
Registry
Credentials for the docker registry to push to.
Declaration
public Input<ImageRegistry> Registry { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ImageRegistry> |
SkipPush
Skip push flag.
Declaration
public Input<bool> SkipPush { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |