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?