Allow redeploy for “latest” docker tag in Nexus OS

2019-06-23 18:48发布

问题:

I'm using nexus to host both maven and docker artifacts. For the docker production artifacts I'd like to turn on "disable redeploy" to ensure the image can never change on the nexus server once it is potentially in production.

However, enabling "disable redeploy" appears to make it impossible to re-publish the "latest" tag to point to the latest version.

When trying to push I get obscure errors on the client such as blob upload invalid: blob upload invalid.

Is it possible to disable redeploy to concrete version tags, while allowing on tags like "latest"

回答1:

This is not possible. It does seem like a bit of an oddity given how the Docker format works. You can pop over to https://issues.sonatype.org/browse/NEXUS and file an issue about this functionality.



标签: docker nexus