ImageArgs constructor
ImageArgs({
- Input<
DockerBuild?> ? build, - Input<
bool?> ? buildOnPreview, - required Input<
String> imageName, - Input<
Registry?> ? registry, - Input<
bool?> ? skipPush,
Creates a new ImageArgs.
build The Docker build context
buildOnPreview A flag to build an image on preview
imageName The image name, of the format repository:tag, e.g. docker.io/username/demo-image:v1.
registry The registry to push the image to
skipPush A flag to skip a registry push.
Implementation
ImageArgs({
this.build,
pulumi.Input<bool?>? buildOnPreview,
required this.imageName,
this.registry,
pulumi.Input<bool?>? skipPush,
}) : buildOnPreview = buildOnPreview ?? pulumi.Input.fromValue(false), skipPush = skipPush ?? pulumi.Input.fromValue(false);