ci: only main's newest commit moves latest-main #24

Merged
dhkatz merged 1 commits from fix/ci-latest-main into main 2026-11-19 10:18:22 +00:00
Owner

Two merges close together can build out of order: on 2026-11-19, #22's image job finished two minutes after #23's and moved :latest-main back to #22's build, so staging ran without the OpenID provider.

Now a main push tags :main-<commit> always, and :latest-main only if its commit is still main's newest (git ls-remote origin refs/heads/main). Whichever finishes last, :latest-main ends on the newest commit. Tags (vX.Y.Z) are unchanged.

t5de-catalog and t5de-site have the same line, and need the same fix.

Two merges close together can build out of order: on 2026-11-19, #22's image job finished two minutes after #23's and moved `:latest-main` back to #22's build, so staging ran without the OpenID provider. Now a main push tags `:main-<commit>` always, and `:latest-main` only if its commit is still main's newest (`git ls-remote origin refs/heads/main`). Whichever finishes last, `:latest-main` ends on the newest commit. Tags (`vX.Y.Z`) are unchanged. t5de-catalog and t5de-site have the same line, and need the same fix.
dhkatz added 1 commit 2026-11-19 10:15:33 +00:00
CI: only main's newest commit moves latest-main
Pull request / title (pull_request) Successful in 1s
CI / test (pull_request) Successful in 1m33s
CI / image (apps/api/Dockerfile, t5de-hub-api) (pull_request) Skipped
CI / image (apps/web/Dockerfile, t5de-hub-web) (pull_request) Skipped
8458149103
dhkatz merged commit d0f7e4d8c3 into main 2026-11-19 10:18:22 +00:00
dhkatz deleted branch fix/ci-latest-main 2026-11-19 10:18:22 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: t5de/t5de-hub#24