Pushing & Pulling Container ImagesΒΆ
wf2wf
can push OCI images it builds via --auto-env build
to a registry.
Common registriesΒΆ
Registry |
Push URL |
Auth method |
---|---|---|
GitHub Container Registry (GHCR) |
|
`echo $CR_PAT |
Docker Hub |
|
|
Amazon ECR |
|
`aws ecr get-login-password |
Google Artifact Registry |
|
|
CLI flagsΒΆ
wf2wf convert β¦ --auto-env build --push-registry ghcr.io/myorg
If --push-registry
is omitted, images stay in the local daemon.
Private registriesΒΆ
Set username/password via standard Docker config or use:
docker login <registry>
export WF2WF_REGISTRIES=<registry>
wf2wf
will probe all registries listed in the env var for existing images before building anew.
Troubleshooting pushesΒΆ
403 Forbidden β token lacks
write:packages
(GHCR) β regenerate PAT.connection timeout β corporate firewall β use proxy or mirror registry.
manifest invalid β disable experimental features if using rootless Docker.