Files
repo-worker 44d6ba9c8d
ci/woodpecker/tag/build-amd64 Pipeline failed
ci/woodpecker/tag/build-arm64 Pipeline was successful
ci/woodpecker/tag/manifest Pipeline failed
ci/woodpecker/cron/drift Pipeline was successful
Fix image_name inference bug + add tag normalization setting (oleks/ci-scripts#21, #22)
render_thin_quartet.py's kind=matrix rendering derived image_name from the
manifest's repo field, which silently diverges from the actually-published
image for xonsh-image (repo "xonsh-image" vs. live image "oleks/xonsh",
confirmed via the package registry). image_name is now a required, explicit
manifest field with no inference; xonsh-image and csi-s3 manifests updated
with their verified values.

entrypoint.sh's buildx-build/buildx-manifest flows always used the raw
CI_COMMIT_TAG, with no way to reproduce ci/local.sh's leading-"v" /
trailing-"-N" tag stripping. Added resolve_version() with two additive,
default-preserving settings: `version` (explicit override, wins over
CI_COMMIT_TAG when set — a no-op today since nothing sets it) and
`tag_strip_v` (opt-in normalization). Default behavior is unchanged: raw
CI_COMMIT_TAG, matching this plugin's own v1.0.x self-build tags and every
other current consumer.

xonsh-image's manifest now opts into tag_strip_v to prove the fix (verified:
resolve_version("v0.22.7") -> "0.22.7", rendered tag "0.22.7-amd64" matches
the live-consumed scheme) but is NOT wired into its actual .woodpecker/ dir
yet — migration is a separate step once both fixes are released.

oleks/ci-scripts#20
2026-07-09 19:47:31 +03:00

18 lines
801 B
YAML

repo: xonsh-image
kind: matrix
image: git.oleks.space/oleks/nix-ci
script: ci/local.sh
arches: [amd64, arm64]
buildkit_prefix: buildkit
# oleks/ci-scripts#22: the PUBLISHED image is "oleks/xonsh", not
# "oleks/xonsh-image" — ci/local.sh's IMAGE_REPO default is "xonsh", and the
# live Gitea package registry confirms it (tags 0.22.7, 0.22.7-amd64,
# 0.22.7-arm64, latest all under package "xonsh"). Do not derive this from
# the `repo:` field above.
image_name: git.oleks.space/oleks/xonsh
# oleks/ci-scripts#21: ci/local.sh strips a leading "v" (and a trailing
# "-N" build suffix) from CI_COMMIT_TAG before tagging — live published tags
# are "0.22.7"/"0.22.7-<arch>", not "v0.22.7-<arch>". Reproduces that exactly
# via entrypoint.sh's opt-in resolve_version() normalization.
tag_strip_v: true