The alternative solution works by embedding the repository name in the image name as opposed to the registry URL.
The workflow would then look like this:
docker tag busybox example.com/dockerv2/busybox
docker push example.com/dockerv2/busybox
The workflow would then look like this:
docker tag <image> <artifactory-reverse-proxy-url>/<repo-name>/<optional-namespace>/<image-name>
docker push <artifactory-reverse-proxy-url>/<repo-name>/<optional-namespace>/<image-name>This would result in a new image created in the Artifactory repository <repo-name> with the path
<optional-namespace>/<image-name>.Here is a more concrete example:
docker tag busybox example.com/dockerv2/busybox
docker push example.com/dockerv2/busybox