Skip to content

How does the --tag option interact with a container image name which already contains a tag? #130

@euanh

Description

@euanh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions