RegistryImage

class RegistryImage : KotlinCustomResource

Manages the lifecycle of docker image/tag in a registry means it can store one or more version of specific docker images and identified by their tags.

Example Usage

To be able to update an image itself when an updated image arrives.

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.docker.RegistryImage;
import com.pulumi.docker.RegistryImageArgs;
import com.pulumi.docker.inputs.RegistryImageBuildArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var helloworld = new RegistryImage("helloworld", RegistryImageArgs.builder()
.build(RegistryImageBuildArgs.builder()
.context(String.format("%s/absolutePathToContextFolder", path.cwd()))
.build())
.build());
}
}

Properties

Link copied to clipboard

Definition for building the image

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

If true, the verification of TLS certificates of the server/registry is disabled. Defaults to false

Link copied to clipboard
val keepRemotely: Output<Boolean>?

If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker registry on destroy operation. Defaults to false

Link copied to clipboard
val name: Output<String>

The name of the Docker image.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sha256Digest: Output<String>

The sha256 digest of the image.

Link copied to clipboard
val urn: Output<String>