Forgejo's uploadpack.allowAnySHA1InWant only matches FULL SHAs — the 7-char short SHA from build-label / versions.txt produces "couldn't find remote ref ae75855" on `git fetch --depth=1 origin <short-sha>` (and `git clone --branch <short-sha>` fails the same way). The chart's downstream Dockerfile uses fetch-by-ref to handle SHAs as well as named refs, but only full SHAs go through. Resolve the short SHA to its full form via `git rev-parse` in notify-chart-bump.sh before writing the chart's appVersion. The runner has the full git history (actions/checkout@v4 fetch-depth: 0), so rev-parse works locally; the chart's appVersion becomes the canonical 40-char SHA, and the BMCD pipeline-dev / pipeline-prod fetches succeed cleanly. Manually re-bumped chart develop after this commit: appVersion: 0.0.16-beta-ae75855 → 0.0.16-beta-ae758550a855f6a9507df08075475cb87cb67086 |
||
|---|---|---|
| .. | ||
| scripts | ||
| workflows | ||