This message was deleted.
# typescript
s
This message was deleted.
b
this should work
Copy code
const 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 },
        )