ImageArgs constructor

ImageArgs({
  1. Input<DockerBuild?>? build,
  2. Input<bool?>? buildOnPreview,
  3. required Input<String> imageName,
  4. Input<Registry?>? registry,
  5. 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);