busy-magician-53063
03/07/2023, 4:07 PMrepository = awsx.ecr.Respository(...)
image = awsx.ecr.Image(
"scheduler",
path="../",
dockerfile="scheduler/Dockerfile",
extra_options={
"-t",
"1.0.0"
},
args={
...
},
)
This implementation does, but is inconsistent and uses Pulumi-docker. I’m currently getting bugs fairly frequently trying to build and push this way, so Crosswalk would be preferable as it was very consistent (just didn’t tag).
repository = awsx.ecr.Respository(...)
image = docker.Image(
name="scheduler",
image_name=repository.url.apply(lambda url: f"{url}:{scheduler_version}"),
build=docker.DockerBuild(
context="../", # type: ignore
dockerfile="scheduler/Dockerfile", # type: ignore
args={
...
}
),
registry=None,
)
Is there a way I’m not seeing to tag using AWSx?No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by