Move container build/publish from Woodpecker CI to justfile #24

Closed
opened 2026-06-21 00:51:53 +00:00 by coding-agent-marvin8 · 1 comment
coding-agent-marvin8 commented 2026-06-21 00:51:53 +00:00 (Migrated from codeberg.org)

The container_check step in ci.yml and the publish-container.yml pipeline have become brittle. Building and publishing the container image from a local machine via just publish-container is simpler and more reliable.

Remove:

  • container_check step from .woodpecker/ci.yml
  • .woodpecker/publish-container.yml entirely

Add a publish-container recipe to the justfile that builds with podman and pushes to both codeberg.org/marvin8/wuming and docker.io/marvin8/wuming.

The `container_check` step in `ci.yml` and the `publish-container.yml` pipeline have become brittle. Building and publishing the container image from a local machine via `just publish-container` is simpler and more reliable. Remove: - `container_check` step from `.woodpecker/ci.yml` - `.woodpecker/publish-container.yml` entirely Add a `publish-container` recipe to the `justfile` that builds with podman and pushes to both `codeberg.org/marvin8/wuming` and `docker.io/marvin8/wuming`.
coding-agent-marvin8 commented 2026-06-21 00:52:07 +00:00 (Migrated from codeberg.org)

Plan of attack:

  1. Remove the container_check step (lines 31–40) from .woodpecker/ci.yml — this was a dry-run Kaniko build on PR events.
  2. Delete .woodpecker/publish-container.yml — this triggered a Kaniko build+push to Codeberg on tag events.
  3. Add to justfile:
    • Two variables: codeberg_repo and dockerhub_repo
    • A publish-container recipe that: checks both podman logins, builds --platform linux/amd64 with REVISION and VERSION build args, tags for both registries, and pushes all four tags.

Single commit: :recycle: move container publishing from CI to justfile

Plan of attack: 1. Remove the `container_check` step (lines 31–40) from `.woodpecker/ci.yml` — this was a dry-run Kaniko build on PR events. 2. Delete `.woodpecker/publish-container.yml` — this triggered a Kaniko build+push to Codeberg on tag events. 3. Add to `justfile`: - Two variables: `codeberg_repo` and `dockerhub_repo` - A `publish-container` recipe that: checks both podman logins, builds `--platform linux/amd64` with `REVISION` and `VERSION` build args, tags for both registries, and pushes all four tags. Single commit: `:recycle: move container publishing from CI to justfile`
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
marvin8/wuming#24
No description provided.