I'm getting this publishing my container images.
✔ fce4c0f30b1acab2 .publish(address: "my.domain.com:543/cheebo/backend"): String! 0.7s
│ │ ✔ e30a6c2533b142a0 export layers 0.0s
│ │ ✘ cbb08886e6db676d remotes.docker.resolver.HTTPRequest 0.2s
│ │ │ ✘ 95297a8252fa499d HTTP HEAD 0.2s
│ │
│ │ ✘ eaaec525319107b3 remotes.docker.resolver.HTTPRequest 0.3s
│ │ │ ✘ 0e7d28f61c953376 HTTP HEAD 0.3s
│ │
│ │ ✔ e2a0419f8da42325 HTTP GET 0.1s
│ │ ✔ a07cdb997e1ba1c3 remotes.docker.resolver.HTTPRequest 0.1s
│ │ │ ✔ fc1311835271053a HTTP HEAD 0.1s
│ │
│ │ ✔ 3537ff0b1660205e remotes.docker.resolver.HTTPRequest 0.2s
│ │ │ ✔ 1c763f9ac32c5740 HTTP HEAD 0.2s
│ │
│ │ ✔ baf29529b571efe1 remotes.docker.resolver.HTTPRequest 0.2s
│ │ │ ✔ 19d988d4996e2338 HTTP HEAD 0.2s
@function
async def pipeline(
self,
source: dagger.Directory,
registry: str,
username: str,
password: dagger.Secret,
):
"""Run the pipeline"""
variables = [(self.Build(source),"backend"), (self.WebServer(source),"webserver")]
regestry_auth=(registry,username,password)
async with anyio.create_task_group() as task_group:
for var in variables:
input=var+regestry_auth
task_group.start_soon(await self.publish(*input))
anyio publish the first image but does not publish the second one. The first one does not seem to be fully uploaded to my harbor registry. Tho, I can see it in the harbor UI.
I'm new to both harbor and dagger, so this can be from either of them.tho, I tried to normally push an image, and it got pushed normally.