Container image tags are convenient for people, while digests provide the precise identity that deployment systems need. This checklist explains when to use tags, immutable digests, or signed release references, and shows how to verify that a running workload uses the image you intended.
Overview
A container image reference usually has three useful forms:
- Tag:
registry.example.com/payments/api:release-2026-04 - Digest:
registry.example.com/payments/api@sha256:... - Signed release reference: an image reference paired with a verifiable signature, provenance record, or both.
A tag is a human-readable label stored in a registry. Registry permissions and release processes may allow a tag to move from one image manifest to another. That makes tags useful for development, testing, and promotion workflows, but a tag alone does not prove which bytes a production node pulled.
A digest is a content-addressed identifier for an image manifest. Pinning a deployment to a digest makes the intended manifest explicit. For multi-architecture images, check whether the digest identifies an image index or a platform-specific manifest. The index can select different platform images on different nodes, so verification should include both the index digest and the resolved platform digest when that distinction matters.
Signatures and provenance add information that a digest cannot provide by itself. A digest answers, “Which content is this?” A signature or attestation can help answer, “Who released it, and how was it built?” Use the controls supported by your registry and deployment platform, and document the exact verification policy rather than assuming that a signed tag is automatically immutable.
| Reference | Best use | Main limitation |
|---|---|---|
| Tag | Local development, readable release names, test environments | May move unless the registry and workflow prevent changes |
| Digest | Production manifests, reproducible rollouts, precise rollback | Less readable and must be updated deliberately |
| Signed digest or release reference | Production supply-chain verification and release controls | Requires key, identity, policy, and tooling management |
For wider image-build context, see Dockerfile Best Practices for Production. If a registry change is involved, pair this checklist with the Container Registry Migration Guide.
Checklist by scenario
Development and short-lived test environments
- Use descriptive tags that identify the branch, pull request, or build number.
- Publish each build under a unique tag rather than repeatedly overwriting a shared tag such as
test. - Record the resulting digest in build logs, even if the deployment manifest uses a tag.
- Set the pull policy intentionally. Do not rely on a node's cached image when testing whether a new build is available.
Mutable tags are often acceptable here because speed and readability are useful, but the workflow should still expose the resolved digest. That record makes a failed test easier to reproduce.
Staging and release candidates
- Build the image once and promote the same digest between environments.
- Use a release-candidate tag for humans, but treat the digest as the system-of-record identifier.
- Compare the staging digest with the candidate digest before approving production.
- Run vulnerability, compatibility, and functional checks against the exact image that will be promoted.
A tag should point to the already-tested artifact, not trigger a rebuild. Rebuilding from the same source can produce a different digest because of base-image changes, timestamps, dependency resolution, or build configuration.
Production deployment
- Pin the workload to a digest, for example
image: registry.example.com/payments/api@sha256:.... - Specify
imagePullPolicyexplicitly where operational behavior must be obvious. - Require the registry path, digest, platform, and release metadata to appear in the deployment record.
- Verify signatures or attestations before admission when your organization has adopted that control.
- Confirm that the cluster's credentials can pull the pinned image after the tag is no longer needed.
In Kubernetes, the image pull policy controls when the kubelet checks the registry; it does not turn a mutable tag into an immutable reference. An Always policy can resolve a tag again, while a digest reference still identifies the requested content. Check the effective policy in the rendered workload, not only in the source template.
Rollback
- Keep the previous production digest, image index or platform manifest details, and deployment configuration together.
- Confirm that registry retention rules will not delete the rollback image.
- Roll back to the known-good digest rather than a broad tag such as
stableorprevious. - After rollback, verify the running pods and record the actual image IDs reported by the runtime.
Registry cleanup deserves special attention. The Container Registry Cleanup Policies guide can be used alongside this step to check retention and deletion assumptions.
What to double-check
Inspect the image before deployment
From a trusted build or release environment, resolve the tag and inspect its manifest:
docker buildx imagetools inspect registry.example.com/payments/api:release-2026-04
Capture the reported digest, platform entries, labels, and any attached metadata relevant to your release policy. If the image was pulled locally, inspect the repository digests as well:
docker image inspect registry.example.com/payments/api:release-2026-04 \
--format '{{json .RepoDigests}}'
Do not confuse a local image ID with a registry repository digest. They may be useful for different checks, and neither should be substituted silently for the identifier required by your deployment policy.
Inspect the rendered Kubernetes workload
Before applying a manifest, check the final output produced by Helm, Kustomize, or your CI system. Confirm the image reference, namespace, container name, pull policy, and any admission-related labels or annotations. After deployment, compare the declared image with the image reported by the workload:
kubectl -n production get pod POD_NAME \
-o jsonpath='{range .status.containerStatuses[*]}{.name}{"\t"}{.image}{"\t"}{.imageID}{"\n"}{end}'
The image field shows the configured reference; imageID shows what the runtime resolved. Check both. For a multi-architecture release, confirm that the selected platform matches the node architecture and the digest is the expected child manifest where your verification process requires it. See the multi-architecture image checklist for related compatibility checks.
Verify signatures and provenance
Define the verification questions before choosing tooling: which identity may sign, which registry and repository are allowed, whether build provenance is required, and what happens when verification fails. A signature check that only confirms that an image was signed, without checking the signer or repository, is weaker than an explicit trust policy. Store verification results with the release record and make failures visible rather than treating them as warnings.
Common mistakes
- Using
latestin production: It is readable but ambiguous and may interact with default pull behavior in surprising ways. - Retagging without recording the digest: A release name can continue to point somewhere new while old deployment records remain unclear.
- Rebuilding during promotion: Promotion should normally move the tested artifact, not create a second artifact from the same source.
- Checking only the manifest file: A declared digest does not prove that every running pod has started successfully with that image.
- Ignoring platform selection: A multi-architecture index can resolve to different platform-specific manifests across nodes.
- Assuming pull policy provides immutability: Pull policy affects fetching behavior; it does not prevent a tag from moving.
- Deleting old images too soon: Cleanup rules can remove an image needed for rollback, disaster recovery, or forensic comparison.
- Trusting a tag after a registry migration: Repositories, permissions, manifests, and tag behavior should be checked after migration. Use the registry migration guide as a companion.
When to revisit
Run this checklist before each production release, rollback, registry migration, or major CI/CD change. Revisit it during seasonal planning cycles when retention, disaster recovery, or staffing procedures are reviewed, and whenever the organization changes its container runtime, Kubernetes version, registry, signing system, or multi-architecture build process.
Keep a short release verification record with these fields:
- Application and environment
- Registry and repository
- Human-readable release tag
- Image index or manifest digest
- Resolved platform and child-manifest digest, if applicable
- Build or source revision
- Signature and provenance verification result
- Rendered deployment reference and pull policy
- Running pod image IDs after rollout
- Rollback digest and retention confirmation
Finally, have a second person or automated policy compare the approved digest with the rendered deployment and the running workload. This three-way check—release record, deployment configuration, and runtime state—catches tag movement, templating errors, platform mismatches, and incomplete rollouts before they become assumptions about what production is actually running.