Skip to content

Retagging existing manifest lists #105

@d7415

Description

@d7415

In #31 (comment) and #32 (comment) there was discussion of possible remote tagging capabilities in either manifest-tool or docker manifest, but I can't find any results.

My goal: Take an existing multi-arch tag (from docker buildx) and apply a new tag to it, without rebuilding the image. This is being done in CI, so the machine re-tagging must get any source data from Docker Hub.

Trying to use manifest-tool as-is results in You specified a manifest list entry from a digest that points to a current manifest list. Manifest lists do not allow recursion for me either using a YAML template or something like manifest-tool push from-args --platforms linux/arm/v7,linux/arm/v6,linux/arm64,linux/amd64 --template repo/image:testing --target repo/image:latest.

Reading the docs for docker manifest doesn't seem to have anything matching this use-case.

Can anyone point me in the right direction, or is this still "not yet"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions