bland-gpu-78760
12/06/2023, 5:29 AMconst myImage = new docker.Image(customImage, {
imageName: pulumi.interpolate`${registry.loginServer}/${customImage}:v1.0.0`,
build: { context: `./${customImage}`, args: { "platform": "linux/amd64" } },
registry: {
server: registry.loginServer,
username: adminUsername,
password: adminPassword,
},
});
billions-xylophone-85957
12/06/2023, 1:09 PMconst image = new docker.Image(
this.pulumiName,
{
imageName: args.destinationFqn,
build: {
dockerfile: cfg.dockerfile,
args: cfg.args,
context: cfg.context,
platform: 'linux/amd64',
},
registry: {
server: opts.address,
username: opts.username,
password: opts.password,
},
},
{ parent: this, retainOnDelete: true, dependsOn: opts.dependsOn },
)