Move container build/publish from Woodpecker CI to justfile #24
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
container_checkstep inci.ymland thepublish-container.ymlpipeline have become brittle. Building and publishing the container image from a local machine viajust publish-containeris simpler and more reliable.Remove:
container_checkstep from.woodpecker/ci.yml.woodpecker/publish-container.ymlentirelyAdd a
publish-containerrecipe to thejustfilethat builds with podman and pushes to bothcodeberg.org/marvin8/wuminganddocker.io/marvin8/wuming.Plan of attack:
container_checkstep (lines 31–40) from.woodpecker/ci.yml— this was a dry-run Kaniko build on PR events..woodpecker/publish-container.yml— this triggered a Kaniko build+push to Codeberg on tag events.justfile:codeberg_repoanddockerhub_repopublish-containerrecipe that: checks both podman logins, builds--platform linux/amd64withREVISIONandVERSIONbuild args, tags for both registries, and pushes all four tags.Single commit:
:recycle: move container publishing from CI to justfile