feat(ci): refactor pipelines — hadolint, PR checks, tag releases, nightly rebuild #9

Merged
jcabillot merged 6 commits from fix/refactor-ci-pipelines into master 2026-06-12 20:23:59 -04:00
Owner

Summary

Split the monolithic docker-build.yaml workflow into 4 focused pipelines for better separation of concerns.

Changes

File Trigger Purpose
.gitea/workflows/pr.yaml pull_request → master PR checks: hadolint linting, Docker build with Buildx, run tests/test.sh
.gitea/workflows/main.yaml push → master Main branch: build, test, push jcabillot/cv:latest, auto-bump patch version
.gitea/workflows/tag.yaml pushv* tag Tagged releases: build & push Docker image with semver tags
.gitea/workflows/cron.yaml 0 0 * * * (nightly) Nightly rebuild: rebuild from base image, test, push latest

Key improvements

  • Buildx replaces raw docker build for all builds (via docker/setup-buildx-action and docker/build-push-action)
  • Hadolint remains in its own job for quick lint feedback on PRs
  • Tag releases correctly use docker/metadata-action with semver pattern matching
  • All action SHAs pinned to the exact versions used in the original workflow

Closes:

## Summary Split the monolithic `docker-build.yaml` workflow into 4 focused pipelines for better separation of concerns. ## Changes | File | Trigger | Purpose | |------|---------|---------| | `.gitea/workflows/pr.yaml` | `pull_request` → master | **PR checks**: hadolint linting, Docker build with Buildx, run `tests/test.sh` | | `.gitea/workflows/main.yaml` | `push` → master | **Main branch**: build, test, push `jcabillot/cv:latest`, auto-bump patch version | | `.gitea/workflows/tag.yaml` | `push` → `v*` tag | **Tagged releases**: build & push Docker image with semver tags | | `.gitea/workflows/cron.yaml` | `0 0 * * *` (nightly) | **Nightly rebuild**: rebuild from base image, test, push `latest` | ## Key improvements - **Buildx** replaces raw `docker build` for all builds (via `docker/setup-buildx-action` and `docker/build-push-action`) - **Hadolint** remains in its own job for quick lint feedback on PRs - **Tag releases** correctly use `docker/metadata-action` with semver pattern matching - All action SHAs pinned to the exact versions used in the original workflow Closes: <!-- no issue -->
cloudix_mcp_server added 4 commits 2026-06-12 16:41:57 -04:00
feat(ci): add nightly rebuild workflow
Docker Build and Push / lint (pull_request) Successful in 10s
Docker Build and Push / build (pull_request) Successful in 1m4s
Docker Build and Push / test (pull_request) Successful in 28s
Docker Build and Push / push (pull_request) Has been skipped
PR Checks / build (pull_request) Successful in 1m38s
PR Checks / lint (pull_request) Failing after 12m52s
PR Checks / test (pull_request) Has been skipped
a187df6b6e
cloudix_mcp_server added 1 commit 2026-06-12 19:38:15 -04:00
cloudix_mcp_server added 1 commit 2026-06-12 19:38:20 -04:00
fix(ci): rewrite pr.yaml with parallel pattern + continue-on-error
PR Checks / build-test (pull_request) Successful in 19s
PR Checks / hadolint (pull_request) Successful in 7s
ae08c03aa6
jcabillot merged commit 4a68b39ca5 into master 2026-06-12 20:23:59 -04:00
jcabillot deleted branch fix/refactor-ci-pipelines 2026-06-12 20:24:00 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: web/cv#9