Allow redeploy for “latest” docker tag in Nexus OS

2019-06-23 18:33发布

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"

标签: docker nexus
1条回答
太酷不给撩
2楼-- · 2019-06-23 19:14

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.

查看更多
登录 后发表回答