https://github.com/apple/swift-container-plugin/pull/128/files#r2078107925
Passing a fully-qualified destination image name including a tag to the --repository flag pushes the image to that repository, tag included.  For example "--repository myrepo/myimage:mytag".   How does this relate to the use of the --tag argument?
The source and destination image names are parsed by the same parser.  The source image name can have an optional tag [:tag] or digest [@ sha256:123abc...].   The destination image should only accept an optional tag - a digest should be rejected.