Skip to content

Commit

Permalink
update azure-py example so it at least compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
guineveresaenger committed Nov 18, 2022
1 parent 86b7975 commit 57a0ef0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 6 additions & 3 deletions examples/azure-py/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pulumi
from pulumi_azure import core, containerservice
from pulumi_docker import Image, ImageRegistry, DockerBuild
from pulumi_docker import Image, RegistryArgs, DockerBuildArgs

custom_image = "app"

Expand All @@ -14,6 +14,9 @@
my_image = Image("myimage",
image_name=registry.login_server.apply(
lambda server: f'{server}/{custom_image}:v1.0.0'),
build=DockerBuild(context=f'./{custom_image}'),
registry=ImageRegistry(registry.login_server, registry.admin_username, registry.admin_password)
build=DockerBuildArgs(context=f'./{custom_image}'),
registry=RegistryArgs(
registry=registry.login_server,
username=registry.admin_username,
password=registry.admin_password)
)
1 change: 0 additions & 1 deletion sdk/nodejs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export const getRemoteImage: typeof import("./getRemoteImage").getRemoteImage =
export const getRemoteImageOutput: typeof import("./getRemoteImage").getRemoteImageOutput = null as any;
utilities.lazyLoad(exports, ["getRemoteImage","getRemoteImageOutput"], () => require("./getRemoteImage"));


export { ImageArgs } from "./image";
export type Image = import("./image").Image;
export const Image: typeof import("./image").Image = null as any;
Expand Down

0 comments on commit 57a0ef0

Please sign in to comment.