CI: Migrate from Jenkins to Gitea Actions with refactored pipeline #10

Merged
jcabillot merged 2 commits from fix/refactor-ci-pipelines into main 2026-06-12 20:20:35 -04:00
Owner

Summary

Migrates CI from legacy Jenkins pipeline to a clean, maintainable Gitea Actions workflow.

Changes

.gitea/workflows/docker-build.yaml — Refactored

  • Replaced pinned SHA action versions with semantic version tags (e.g., @v4, @v3, @v5, @v6) for better readability and easier maintenance
  • Added QEMU setup (docker/setup-qemu-action@v3) for multi-architecture build support
  • Simplified tag strategy using docker/metadata-action@v5:
    • Branch tags for main pushes
    • PR tags for pull requests
    • SHA tags for commit-level traceability
    • latest tag enabled only on main branch
  • Cleaner conditionals — simplified push logic based on github.event_name
  • Same triggers preserved: push/main, PR/main, scheduled daily (0 0 * * *)
  • Same Docker image: jcabillot/opencode-dispatch

Removed

  • Jenkinsfile — legacy Jenkins pipeline no longer needed

CI Pipeline

Trigger Action
Push to main Build & push Docker image
PR to main Build only (no push)
Daily schedule (midnight) Build & push Docker image

No test jobs included (not applicable for this project).

## Summary Migrates CI from legacy Jenkins pipeline to a clean, maintainable Gitea Actions workflow. ## Changes ### `.gitea/workflows/docker-build.yaml` — Refactored - **Replaced pinned SHA action versions** with semantic version tags (e.g., `@v4`, `@v3`, `@v5`, `@v6`) for better readability and easier maintenance - **Added QEMU setup** (`docker/setup-qemu-action@v3`) for multi-architecture build support - **Simplified tag strategy** using `docker/metadata-action@v5`: - Branch tags for `main` pushes - PR tags for pull requests - SHA tags for commit-level traceability - `latest` tag enabled only on `main` branch - **Cleaner conditionals** — simplified `push` logic based on `github.event_name` - Same triggers preserved: push/main, PR/main, scheduled daily (`0 0 * * *`) - Same Docker image: `jcabillot/opencode-dispatch` ### Removed - **`Jenkinsfile`** — legacy Jenkins pipeline no longer needed ## CI Pipeline | Trigger | Action | |---|---| | Push to `main` | Build & push Docker image | | PR to `main` | Build only (no push) | | Daily schedule (midnight) | Build & push Docker image | No test jobs included (not applicable for this project).
cloudix_mcp_server added 2 commits 2026-06-12 19:56:40 -04:00
- Replace pinned SHA action versions with maintainable semantic version tags
- Add QEMU setup for multi-arch builds
- Simplify conditionals and improve readability
- Clean up tag strategy with metadata action
chore: remove legacy Jenkinsfile after migration to Gitea Actions
Docker Build and Push / build (pull_request) Successful in 3m47s
efee1cee5c
The CI pipeline has been fully migrated from Jenkins to Gitea Actions.
The Jenkinsfile is no longer needed.
jcabillot merged commit 95b1752a11 into main 2026-06-12 20:20:35 -04:00
jcabillot deleted branch fix/refactor-ci-pipelines 2026-06-12 20:20:36 -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: perso/opencode-dispatch#10