diff --git a/scripts/check_image_versions.py b/scripts/check_image_versions.py index 384aa41..226d36e 100644 --- a/scripts/check_image_versions.py +++ b/scripts/check_image_versions.py @@ -11,7 +11,10 @@ cannot make a tag immutable), so an image whose content changes under an unchang version is pushed as sha-*/latest only, and a hand-pasted @ pin would pair a tag with a digest it does not point to. -pins Every `git.rkdr.net/mortis/:@sha256:` in the consumer +pins No file under .gitea/workflows may mention `git.rkdr.net/defame1297/`: the production + image set of the environment repo never belongs in this CI (the `mortis` side is the + untrusted one, ADR 0004 Runner isolation). + Every `git.rkdr.net/mortis/:@sha256:` in the consumer workflows must name an image of the matrix, with a well-formed digest and a version that is not newer than the matrix (a pin lags the matrix between the PR that bumps the version and the PR that moves the pin; it can never lead it). @@ -59,6 +62,9 @@ PIN_RE = re.compile(r"git\.rkdr\.net/mortis/(?P[a-z0-9._-]+):(?P[ ANY_PIN_RE = re.compile( r"""(?