Skip to content

Commit

Permalink
Allow async repository url to pulumi image resource.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemnmez committed Dec 26, 2024
1 parent e053bb6 commit fddd5da
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions ts/pulumi/lib/oci/oci_image.tmpl.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { local } from '@pulumi/command';
import { ComponentResource, ComponentResourceOptions } from "@pulumi/pulumi";
import { ComponentResource, ComponentResourceOptions, Input, output } from "@pulumi/pulumi";


export interface Args {
repository: string
repository: Input<string>
}

export class __ClassName extends ComponentResource {
Expand All @@ -15,11 +15,12 @@ export class __ClassName extends ComponentResource {
super('__TYPE', name, args, opts);

const upload = new local.Command(`${name}_push`, {
create: [
create:
output(args.repository).apply(repository => [
"__PUSH_BIN",
"--repository",
args.repository,
].join(" ")
repository,
].join(" "))
}, { parent: this })


Expand Down

0 comments on commit fddd5da

Please sign in to comment.