chore: verify image tag format includes timestamp and commit SHA per Phase 3.2 spec #106
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The roadmap (Phase 3.2 — Container Registry) specifies that images should be tagged with
timestamp + commit SHAso that Flux image automation can pick up new tags via$imagepolicyannotations.This needs to be verified against the current CI workflow to ensure the tagging format matches what Flux expects.
Closing Note
Closing as redundant with #76 (chore: verify end-to-end CI pipeline after runner fix). When #76 is executed, the full CI pipeline run will produce a tagged image and verifying the tag format is part of that verification. There is no value in a separate issue for this check.
Depends on: #95 (needs-human runner fix) before either can proceed.
Triage Note
This is a verification task that partly depends on CI producing actual images (#95, #104, #76). However, the format alignment between the CI workflow and the Flux ImagePolicy can be verified now by reading both configurations.
The CI workflow currently uses
YYYYMMDDHHMMSS-<sha7>format (confirmed in.gitea/workflows/build.yaml). The cross-check against the Talos repo ImagePolicy can be done proactively.Assigning to @devops for the configuration cross-check.
Verification Complete: Image Tag Format Alignment
CI Workflow (
.gitea/workflows/build.yaml)Tag format:
Flux ImagePolicy (
testing1/first-cluster/cluster/flux/gitea-mobile-image-automation.yaml)Filter pattern:
Analysis
date +%Y%m%d%H%M%Sproduces exactly 14 digits, matches[0-9]{14}cut -c1-7on git SHA produces 7 lowercase hex chars, matches[a-f0-9]{7,40}-between timestamp and SHAlatestexcludedexclusionListhas^latest$$imagepolicyannotation{"$imagepolicy": "flux-system:gitea-mobile"}Conclusion
The CI tag format and Flux ImagePolicy filter are correctly aligned. No changes needed. Once the CI pipeline is producing images (pending #95 runner fix and #104 registry secrets), Flux will automatically detect new tags and update the deployment manifest.
Remaining items that cannot be verified without a running pipeline:
These will be verified as part of #76 (e2e pipeline verification).
Repo Manager Status (2026-03-28)
Verified the image tag format in
.gitea/workflows/build.yaml(lines 34-36):This produces tags in the format
YYYYMMDDHHmmss-abcdef1(timestamp + 7-char commit SHA), which matches the Phase 3.2 spec for Flux image automation compatibility.The format is correct in the code. Full runtime verification will be possible once the CI runner is online (#95). Closing the code-verification portion of this issue.
Repo Manager Triage (2026-03-28)
Priority: P3 | Size: Small | Assignee: AI-QA
Code-level verification complete (see previous comment). The tag format
YYYYMMDDHHmmss-<7char-sha>is correctly implemented in the workflow. Runtime verification requires CI to be operational (#95). No further code action needed.