Know exactly what was built
Two support engineers open what appears to be the same release record. Both records say that the order-processing service is running version four point two. The engineer in the eastern region sees a familiar checkout screen. The engineer in the western region sees an unexpected change in the payment flow. Their first assumption is that configuration differs between regions. The application logs suggest something stranger. The two deployments were built at different times, and the label on each deployed image has been reused. The same version name points to two different sets of software bytes.
This is a fictional release at a national delivery company, but the failure pattern is realistic. The team routinely names its container images after the release under development. When a build fails a test, engineers repair the code and build again under the same label. In the test environment, that seems convenient. By the time the release reaches production, the name has acquired several possible meanings. One region has pulled the earlier image while another has pulled the later one. Both regions can truthfully report that they deployed the named release. Neither report is precise enough to prove that they deployed the same software.
A release label is useful language for people. It tells a team what a group of changes is supposed to represent. It is not necessarily a permanent identity for the bytes produced by a build. In many registries, a tag is a reference that can be moved to point to a newer artifact. An artifact is the package or output created by a build, such as a compiled application bundle, a software archive, or a container image. Once that output has been tested, the safest release process preserves a way to retrieve that exact output. Rebuilding from similar source code is a new build, even when the team intends it to produce the same result.
An optional exercise in the AutoOps+ Study Guide from Bare Metal Cyber is to compare a human release name with an exact artifact identifier. Use the two regional deployments as a listening exercise. One operator reports only a version label; another can report the source revision, build run, and artifact reference. Which report would let you reproduce the investigation after the label changes again? The distinction is about operational evidence, not memorizing a registry vocabulary list.
Think about what can change between two builds. A dependency resolver may select an updated library. The build image may contain a newer tool. A generated file may include a timestamp or a different configuration value. The code that the team wrote may be unchanged while the resulting artifact is different. Some build systems can be engineered for reproducible output, but that is a property to demonstrate, not an assumption supplied by a friendly version label. If the build output differs, test results from the first output do not automatically apply to the second.
The delivery company starts by separating three identities that its release notes had merged. The source revision identifies the code snapshot the build process intended to use. The build run identifies a particular execution of the build procedure. The artifact identifier identifies the actual output. These records should be linked, but they are not interchangeable. A given revision may be built several times. A build may generate multiple outputs. A tag can be moved. The record that operators need during an incident should be able to connect all three without guessing which instance of the label was meant.
A content digest is one way to identify an artifact more precisely. A cryptographic hash calculation produces a value derived from the artifact's content or, for container images, the referenced image manifest. A registry can use a digest to locate the content associated with that value. A digest reference does not move to different content simply because somebody reuses a tag. When the bytes or relevant manifest change, the computed identity changes. This lets an operator ask for the exact object that testing evaluated, rather than whatever object currently sits behind a reusable name.
There are qualifications. A digest identifies content; it does not tell you whether the content is trustworthy. An attacker could produce malicious content and calculate a perfectly valid digest for it. A corrupted download that does not match its expected digest can be detected, provided the digest itself came from a trusted record. But if the attacker replaces both the file and the expected digest, a matching check proves only that the two attacker-controlled values agree. Integrity requires a trustworthy reference point. Authenticity and permission to publish are separate questions.
The registry also has a role beyond storing files. It can enforce which identities may upload, replace, delete, or retrieve artifacts. Some registries support tags that cannot be reassigned after they are created. Other teams use changeable development tags and immutable release references. Either arrangement can work when its operating rules are explicit. A registry that silently allows an approved release label to be overwritten creates an avoidable dispute about what the label meant at a particular time. A registry that retains exact immutable outputs lets a release team compare the records and recover the earlier version if necessary.
The delivery company fixes its release procedure at the point where evidence is generated. The build creates an output and records its exact identifier. Testing reports both its verdict and that identifier. If the test succeeds, the candidate moves to the next stage by reference, without rebuilding it under the same friendly label. The release job retrieves the same object and records the exact identifier deployed in each region. The version name can still appear on dashboards and customer notes. The exact identifier remains the technical answer when a support call asks what is actually running.
A promotion is the movement of an approved candidate through environments or approval states. It should not quietly mean compiling the application again. If the organization copies an artifact between registries, it needs to preserve or verify the intended content identity across that movement. When deployment involves environment-specific configuration, the distinction must remain clear. A single application artifact may run under different allowed configuration values. The team should record both the common artifact identity and the configuration used in each environment, rather than embedding every region's secret and setting into a new undocumented binary.
Imagine a release team that builds an image in testing, declares it approved, and then rebuilds the image inside the production network because production cannot reach the test registry. The team may have a sensible network-separation policy. Yet the rebuild creates a new output whose behavior has not been established by the previous artifact test. A stronger design transfers the already approved image through a controlled channel or performs a documented equivalent verification on the exact object entering production. Network isolation and artifact identity can support one another if the delivery process is designed around both needs.
The Bare Metal Cyber AutoOps+ Flashcards book is available as optional practice for distinguishing a release tag, a build run, a registry, and a digest. Instead of treating those as four labels to recite, use each one to answer a different question in the delivery-company case. What did the team call the release? What procedure produced it? Where can an approved output be retrieved? What proves that two destinations received the same bytes? The point is to make an incident conversation precise enough for an engineer to act on it.
Now the company investigates the diverging regions. It gathers the digest or exact package identifier actually used by each deployment, not merely the tag supplied in the deployment request. One region has an older object. The other has the corrected object. The team can establish whether the earlier artifact passed the required checks, whether a registry tag was reassigned after those checks, and whether either environment changed configuration independently. The evidence replaces a broad accusation that the network or the deployment system is unreliable with a narrower explanation of the observed difference.
There is another subtle failure to guard against. A pipeline sometimes stores only a web link to an artifact produced earlier. Over time, that link may point to a deleted object, an expired build record, or a newly uploaded file with the same path. A release record should identify the exact object and its retention requirements. A backup of a registry name without the underlying approved object cannot guarantee that the software can be restored. The team should determine how long releases and rollback candidates must remain available and who is authorized to remove them.
Rollback becomes much more predictable when exact artifacts survive promotion. A rollback does not require guessing which old source revision might rebuild into the previous working application. The release controller can request the approved earlier artifact and apply an appropriate rollback process. Of course, reversing the application does not automatically reverse database migrations, customer data changes, or external service contracts. An immutable artifact solves uncertainty about the program being deployed. It does not erase state changes that happened while the newer program was running. The recovery plan still has to consider those dependencies.
A useful mental test is to imagine two deployments with identical names but different behavior, exactly as the delivery company experienced. If the team can compare exact artifact identities, it can first establish whether the application bytes are the same. If they are, attention can move to configuration, data, traffic routing, and environment differences. If they differ, the team can investigate why two builds or copies were allowed to share the same reported release. That one distinction can prevent hours of chasing unrelated infrastructure symptoms.
Some container deployments add a complication because an image can represent several platform-specific variants. A top-level reference may identify an image index that selects a different underlying image for different processor architectures. That is expected behavior when the package intentionally supports more than one platform. The operational record still needs enough detail to establish which artifact the particular target used. A single human-readable tag does not reveal that relationship. Exact references and observed deployment data make the intended differences distinguishable from accidental ones.
An artifact identifier also belongs alongside source and test evidence. A build can produce exactly one image and still use a vulnerable dependency or an unauthorized build action. The release record should connect the image to the source revision and the workflow that produced it, while later controls assess its origin and contents. Signing or attesting to a build can provide stronger evidence of origin, but those practices are meaningful only when the organization verifies the claims and trusts the issuer. A digest answers which object is present. It is not a certificate that every choice made while constructing that object was sound.
The company makes a second operational change: it removes the practice of permitting release jobs to choose any object in the registry. The deployment request points to a previously approved artifact reference associated with a completed set of checks. The release job needs permission to retrieve that approved object, not permission to rewrite the registry's release history. The team records which region actually consumed which object. If deployment fails halfway through, the record can show where the attempted change stopped, instead of assuming that a single green pipeline badge means every destination received the same version.
During a tabletop exercise, the engineers test the revised design. They build the application twice using the same friendly development label but deliberately make the outputs differ. The production path rejects an unapproved object and continues to reference the exact candidate that passed testing. They also simulate deleting a release candidate from the registry. The exercise reveals whether retention controls protect rollback and whether an operator can identify an absent artifact before attempting a live recovery. A release system that works only when nobody reuses a name has not yet addressed the original problem.
The final result at the delivery company is operationally modest but valuable. Teams can still use readable version numbers when communicating with customers. Developers can rebuild their test candidates as often as needed. The production record ties approval, testing, and deployment to an exact artifact, and the registry protects the objects that record refers to. When two regions behave differently, the first question can be answered with evidence: did they receive the same application output?
The deeper lesson is that a build result becomes useful release evidence only while its identity remains connected to the actual bytes being deployed. A name describes an intention. A stored and verifiable artifact identifies what the system can retrieve. Keep those separate, and a release investigation begins with facts rather than with two engineers arguing about what version four point two was supposed to mean.