mobs75 commented on issue #239:
URL: https://github.com/apache/openserverless/issues/239#issuecomment-5618868409
Confirmed on the official `apache/openserverless` repo, branch `0.9.0`
(superproject commit `e20d785`, `oplugins` submodule commit `eeac57e`,
`runtimes` submodule commit `cc59301`).
Cloned fresh via:
git clone --branch 0.9.0 https://github.com/apache/openserverless
--recurse-submodules
The duplicated prefix is still present, identical to the original report:
- `oplugins/util/freeze/findimages.js`, line 58:
images.push(`docker.io/${prefix}/${name}:${tag}`)
- `runtimes/runtimes.py`, lines 170-174:
registry = os.environ.get("DOCKER_HUB_REGISTRY",
env.get("DOCKER_HUB_REGISTRY", "docker.io"))
user = os.environ.get("DOCKERHUB_USER", env.get("DOCKERHUB_USER",
"apache"))
prefix = "%s/%s" % (registry, user)
`prefix` already resolves to `docker.io/apache` by default, and
`findimages.js` re-prepends `docker.io/` on top of it, producing
`docker.io/docker.io/apache/<name>:<tag>`. Not specific to the `sciabarracom`
test fork - same code, same bug, on the official `apache/openserverless`
`0.9.0` branch.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]