fix(flux): ImagePolicy numerical order asc for run_number tags

Was stuck on 1-* while 5-* existed in DCR; align with onboarding howto.
This commit is contained in:
Ubuntu
2026-09-24 08:19:09 +00:00
parent 5263b7c858
commit 57ea555684
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ Gitea Actions (`.gitea/workflows/build-and-push.yaml`) on `master` and `workflow
| `:<git-sha>` | Immutable full SHA |
| `:<run_number>-<git-sha>` | Sortable; elected by Flux ImagePolicy |
Repo (or org) secrets: `DCR_USERNAME`, `DCR_PASSWORD` for DCR push (set on `infra/cursor-agent-api-proxy` if org secrets are not inherited).
Repo secrets (required): `DCR_USERNAME`, `DCR_PASSWORD`. Onboarding contract: infra `docs/how-to/onboard-repo-into-deployment-infra.md`.
## Local build / E2E
+2 -1
View File
@@ -27,8 +27,9 @@ spec:
pattern: '^(?P<n>[0-9]+)-[0-9a-f]{40}$'
extract: '$n'
policy:
# asc = highest extracted number is latest (required for run_number-sha tags)
numerical:
order: desc
order: asc
---
apiVersion: image.toolkit.fluxcd.io/v1