1.6 KiB
1.6 KiB
name, description
| name | description |
|---|---|
| faerro-kb-release | Prepare and publish a versioned Faerro KB container image to the private Gitea registry. |
Faerro KB Release
Use this skill when asked to tag or publish a Faerro KB image. The release procedure is defined by README.md and scripts/publish-image.sh.
Procedure
- Check the worktree and identify the exact commit being released. Do not tag unrelated or unreviewed changes.
- The script selects the next patch version by default. Use
--minoror--majoronly when the user requests that increment; lower components are reset. Tags must be exactMAJOR.MINOR.PATCH. - The script creates an unused local tag on the checked-out commit; do not push Git tags to a remote unless requested.
- Confirm Docker is available. For non-interactive authentication, put
GITEA_USERNAMEand a package-writeGITEA_TOKENin the ignored.envfile. The script parses only these keys and sends the token through Docker's--password-stdin; never put credentials in tracked files, command-line arguments, or chat. Without these settings it relies on Docker's existing login credentials. - Run
./scripts/publish-image.shfrom the repository. It builds, logs in when.envcredentials are set, and pushes both the versioned tag andlatest. - Report the tagged commit, image tags, and actual build/push result. A successful local build is not a successful release if either registry push fails.
Do not force-move an existing tag, create or push Git tags to a remote unless requested, or claim publication succeeded without successful registry pushes.