distroless icon indicating copy to clipboard operation
distroless copied to clipboard

Unable To Mirror Blobs By Tag

Open midnightconman opened this issue 2 years ago • 1 comments

Describe the bug While it is easy for most consumers to just pull latest-arm64 (and not worry about content changes), it is impossible for mirrors to pull blobs by tag (as the tag doesn't change, but the digest does) for latest.

To Reproduce Steps to reproduce the behavior:

docker pull gcr.io/distroless/static:latest

Expected behavior We expect the multi-arch latest tag to also have an additional tag assigned to the manifest / image index. We don't care what the tag is, as long as the additional tag isn't reused for later manifests.

Additional context The latest-amd64 image has an additional tag, can we also add this behavior to the latest image?

midnightconman avatar Apr 13 '23 20:04 midnightconman

Would you mean something like build number or date or commit or something?

loosebazooka avatar Apr 13 '23 20:04 loosebazooka