Build Configured to Push to an External Registry Fail
Issue
When pushing a build to an external registry, the build fails with an error like:
error: build error: Failed to push image: error copying layers and metadata from "containers-storage:[overlay@/var/lib/containers/storage+/var/run/containers/storage:overlay.skip_mount_home=false]my.registry.com/repo/image:latest" to "docker://my.registry.com/repo/image:latest": Error initializing source containers-storage:[overlay@/var/lib/containers/storage+/var/run/containers/storage:overlay.skip_mount_home=false]my.registry.com/repo/image:latest: error creating new image source "containers-storage:[overlay@/var/lib/containers/storage+/var/run/containers/storage:overlay.skip_mount_home=false]my.registry.com/repo/image:latest": reference "[overlay@/var/lib/containers/storage+/var/run/containers/storage:overlay.skip_mount_home=false]my.registry.com/repo/image:latest" does not resolve to an image ID: identifier is not an image
Environment
Red Hat OpenShift Container Platform v4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.