Commands to use where no docker is available e.g. in a container.
https://github.com/google/go-containerregistry/tree/master/cmd/crane
crane append -f jail.tar --new_tag jail:latest --output jail-latest.tar
# crane push jail-latest.tar registry.example.com/library/jail:latest
crane cp registry.example.com/library/jail:1 registry.example.com/library/jail:latest
# OR
crane tag registry.example.com/library/jail:1 latest