fix(ci): use alpine/git:2.47.2 — 2.47.0 was never published

The bump-dev (and identically-configured bump-prod) job failed during
prepare_script with:

  ERROR: Job failed: prepare environment: waiting for pod running:
  pulling image "alpine/git:2.47.0": image pull failed: ... not found

Root cause: alpine/git:2.47.0 does not exist on Docker Hub. The alpine/git
2.47.x line starts at 2.47.1 — there is no 2.47.0 build. The runner's
image pull correctly fails with 'not found', and GitLab's Kubernetes
executor treats an image-pull failure during prepare_script as fatal, so
the job never reaches its script block.

Fix: pin both bump-dev and bump-prod to alpine/git:2.47.2 (latest 2.47.x).
Pinned rather than 'latest' so the job stays reproducible. bump-prod had
the same nonexistent tag and would have hit the identical failure on its
next run (whenever main advances), so both are fixed together.
This commit is contained in:
2026-08-06 11:44:05 +02:00
parent bde63c1322
commit 30d6c23908
+4 -2
View File
@@ -96,7 +96,9 @@ build:
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
bump-dev: bump-dev:
stage: bump-dev stage: bump-dev
image: alpine/git:2.47.0 # alpine/git:2.47.0 was never published on Docker Hub — the 2.47.x line
# starts at 2.47.1. Using 2.47.2 (latest 2.47.x).
image: alpine/git:2.47.2
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "dev"' - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "dev"'
script: script:
@@ -131,7 +133,7 @@ bump-dev:
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
bump-prod: bump-prod:
stage: bump-prod stage: bump-prod
image: alpine/git:2.47.0 image: alpine/git:2.47.2
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "main"' - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "main"'
script: script: