801 words
4 minutes

16 from Docker Hub Immutable Tags: The Image That Shipped Before It Was Signed

Sign before the names: a release is done when its digest is signed, not when its tags exist

By Docker Captain · CNCF Ambassador · IBM Champion
Sealed cyan-lit container, one red missing seal, Docker immutable tags

An immutability rule and a signature guard the same promise from two sides: the rule keeps a name from moving, the signature says which build the name was made for. A workflow that pushes names first and signs second breaks that promise whenever anything fails in between.

The fix is an order, not a tag rule: build to a digest, sign it, find the signature on the registry, and only then let a name point at it.

  1. 1

    List every tag every trigger emits, against the rule

    Render the metadata action's tags for each event the workflow can receive and test each one against the repository's immutability rule, read back from Docker Hub rather than from memory. A tag a second trigger could emit for a commit a first trigger already published is a refusal waiting for a release day. Owner: platform engineer, with security signing off on the rule.

  2. 2

    A release emits only tags nobody holds

    Before it pushes, the release run asks Docker Hub whether each immutable tag already exists, and it drops the per-commit tag on release builds: the release is named by its version, and the commit is in the provenance.

  3. 3

    Install the signer before anything is pushed

    A signer that fails to install after the push leaves names on an image nobody signed. Install and check it first.

  4. 4

    Push by digest, with no name

    The build goes to the registry by digest only. A digest nobody has named is not a release yet, and one that is never signed stays nameless.

  5. 5

    Sign and attest the digest, then find the signature on the registry

    Sign keyless, under the run's own identity, and read the signature back from Docker Hub before going on. A reader verifies against the exact workflow file and ref and GitHub's issuer, because a pattern naming only the repository accepts any workflow in it.

  6. 6

    Move the names last, in one command

    Put every tag on the signed digest in one docker buildx imagetools create, with its prefer-index option off: left on, as it is by default, it wraps a single-platform manifest in a new index under a digest nobody signed. If signing failed, no tag moves and every tag stays on the last signed image.

  7. 7

    Judge a publish by its signature, and say so when it is missing

    After every publish, look for the signature tag beside the pushed digest: 200 is signed, 404 is not signed, anything else (a 429) is not checked, and both failures stop the run with different words. Cosign 2 stores the signature as that tag and cosign 3 as an OCI referrer, so the check changes when the pin does. A release whose image has no signature says it in the first line of its release page. Owner: SRE.

What shows it works

The runs and releases behind each step.

A release is judged by whether its signature appeared, never by whether its version did.

The long version is the post Docker Hub Immutable Tags. Docker, Immutable tags and docker buildx imagetools create; GitHub, the starter workflow for publishing a Docker image; Sigstore, Verifying signatures; all checked November 2026.


Vladimir Mikhalev

Docker CaptainCNCF AmbassadorIBM Champion

The Verdict — production-tested analysis on YouTube.

The Verdict

Inconvenient truths about shipping in the AI era

Container security, platform engineering, and the agentic shift — tested in production, argued without the hype. The verdict reaches your inbox the moment there's one worth sending.

Related Posts

Same category
  1. 1
    Docker Hub Immutable Tags: The Image That Shipped Before It Was Signed
    DevOps & Cloud · Docker Hub immutable tags refused a per-commit tag after the version tags were already out. The image shipped, the run died, and nothing ever signed it.
  2. 2
    Docker Hardened Images Migration: A Healthy Database That Kept Nothing
    DevOps & Cloud · Moving a Compose stack to Docker Hardened Images changes user IDs, paths and tools. On the old mount path, PostgreSQL stayed healthy and kept nothing.
  3. 3
    EKS Validation on a Real AWS Account: Seven Failures No Mock Saw
    DevOps & Cloud · Proving an EKS platform on a real AWS account: twenty cents a run by estimate, about fifty on the bill, and seven failures no mocked test or kind saw.
  4. 4
    A Partial Read Is Not a Smaller Fleet: A GitHub API Rate Limit and the Numbers That Lied for an Hour
    DevOps & Cloud · A partial read published as the whole. For an hour the profile said 24 restore scripts across 15 repositories, and the fleet had 73 across 48. Three guards now.

More Blueprints

All 16
  1. 01
    The blast radius assessment
    Signal, 23 February 2026 · Map what an AI agent can break, and how fast a person can undo it, before it gets a single key: six steps, a worksheet and the repositories that measure the same rules.
  2. 02
    The AI intake gate
    Signal, 12 March 2026 · Find every AI tool in use, ask for its backend's access rules instead of a questionnaire, and block what cannot use SSO and central logging, before the first prompt.
  3. 03
    Build or buy a no-code AI platform
    Signal, 20 January 2026 · When a no-code computer vision subscription is the right buy, when it is a slow trap, three questions before the pilot and four clauses before you sign.
  4. 04
    The AI-BOM admission gate
    Signal, 18 October 2026 · Write a signed AI-BOM for every model from its lock line, read it at admission, and refuse any model unless every licence it declares is on the site's list.
Sign before the names: a release is done when its digest is signed, not when its tags exist
https://heyvaldemar.com/blueprints/sign-before-names/
Author
Vladimir Mikhalev
Published
2026-11-23
License
CC BY-NC-SA 4.0