Repository navigation
v1.4.6
One fix, one install fix, one opt-in feature. No breaking changes.
Unversioned images publish again (on a git tag)
v1.4.5 made tag steps the only publishers, but generated them only for images with a version. A repo with no versions: key (e.g. container-wolfi-base, published as :latest only) got a pipeline with no rake push anywhere: every build green, nothing reaching the registry.
Unversioned images now get a tag-<variant> step without the VERSION export, so any git tag publishes them. Versioned images are unchanged.
If you are on v1.4.5 with an unversioned repo, run rake update && rake woodpecker and commit the regenerated .woodpecker/build.yaml.
CRUCIBLE_REF install fixes
- No longer crashes when
lib/is missing (it calledString#green, which lives inlib/). - Finds the extracted archive directory instead of predicting it, so short SHAs work, and checks it before removing the existing
lib/. Previously a mismatch deletedlib/and left nothing in its place.
git_sha for commit-SHA image tags (opt-in)
git_sha returns the 7-character commit SHA (Woodpecker's CI_COMMIT_SHA, else the local checkout) for use in ERB tags:
tags:
- 'latest' # tags: replaces the default, so restate latest
- '<%= tag_join(version, variant, git_sha) %>'Default tags are unchanged.
Note
releases/latest/download/ can serve the previous asset from some CDN edges for a few minutes. If rake update pulls the wrong version, use CRUCIBLE_REF=v1.4.6 rake install.