Skip to main content

Module agent_image_digest

Module agent_image_digest 

Source
Expand description

The digest of the default agent image, from the signed manifest of the release this srv is.

The image tag agent-base:<version> can be pushed by anything that can write the package, so a tag alone doesn’t say which image the release built. The release’s signed manifest does: it lists the image’s digest (agentmux_common::update_manifest::ManifestImage), covered by the same signature as the release’s files. A container is created from the image at that digest, tagged locally as agent-base:<version> (container::pull::pinned).

Fetched when a container is created, kept for the life of srv, and never fetched on a turn of a container that exists. What it does when it can’t tell:

  • a verified manifest that lists the image: [Pin::Digest];
  • no manifest (a build that was never released, a release made before signing), none that can be reached, or one that lists no image: [Pin::Unpinned], and the version tag is pulled as before, with a log line saying the image is unverified;
  • a manifest that is there but does not verify: [Pin::Refused], and the default image is not pulled.