nexus-public
nexus-public copied to clipboard
Support Docker buildx plugin or Google crane
- What problem are you trying to solve?
add a new docker tag to an existing remote image without pulling and pushing the image
this should be possible with docker buildx
, crane
, or regctl
docker buildx imagetools create myregistry.com/myimage --tag myregistry.com/myimage:1.2.3
crane tag myregistry.com/myimage 1.2.3
examples tag a latest
image with the additional tag 1.2.3
https://stackoverflow.com/a/70526615/9890027
- Do you have a workaround you are using at present?
no, although pulling and pushing still works of course
docker pull myregistry.com/myimage
docker tag myregistry.com/myimage myregistry.com/myimage:1.2.3
docker push --all-tags myregistry.com/myimage
- What feature or behavior is this required for?
faster ci
- How could we solve this issue? (Not knowing is okay!)
haven't looked into what the problem is other than verifying this works with pulling/pushing and doesn't with either buildx or crane
- Tell us about your Nexus Repository deployment: what version, operating system, and database are you using?
Sonatype Nexus Repository Manager OSS 3.29.2-02
I am not a sysadmin
- Anything else?
I scanned the release notes for the releases since my version and didn't see anything on buildx.
buildx gives ERROR: myregistry.com/myimage:latest: not found
crane is a bit more detailed, giving the whole 404 Not Found page -
Error: fetching "myregistry.com/myimage": GET https://myregistry.com/v2/: unexpected status code 404 Not Found:
<!DOCTYPE html>
<html lang="en">
<head>
<title>404 - Nexus Repository Manager</title>
<!-- ...rest of not found page... -->
Is this project based on https://github.com/distribution/distribution/ or compliant?