From 3bd37bd587360c1faad5fe2321d427bd18509352 Mon Sep 17 00:00:00 2001 From: pi Date: Wed, 10 Jun 2026 13:45:29 +0200 Subject: [PATCH] fix(ci): update-description must depend on resolve-versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Run 376 published the Hub description with PI_VERSION=empty ("Current :latest ships pi `` ") because the update-description job has needs: [build-variant] but not resolve-versions. In Gitea Actions needs..outputs.* only resolves for jobs in your needs: list. The post-substitution sanity-check (grep -q '{{PI_VERSION}}') passed because sed had successfully replaced the placeholder — with empty string. Pre-empted by adding a non-empty assertion in this commit: the step now fails loudly if PI_VERSION resolves to empty rather than silently publishing a broken description. --- .gitea/workflows/docker-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/docker-publish.yml b/.gitea/workflows/docker-publish.yml index f37dc1f..a7205d1 100644 --- a/.gitea/workflows/docker-publish.yml +++ b/.gitea/workflows/docker-publish.yml @@ -398,7 +398,7 @@ jobs: # ── Phase 6: update Hub description (only on real release runs) ──── update-description: - needs: [build-variant] + needs: [build-variant, resolve-versions] if: | always() && needs.build-variant.result == 'success' &&