refactor: standardize CI/CD to 4-workflow pattern #11

Merged
jcabillot merged 9 commits from fix/workflow-standard into master 2026-06-14 12:34:27 -04:00
Owner

Summary

Split the monolithic docker-build.yaml into the standard 4-workflow pattern matching the proven perso/htpasswd reference.

Changes

  • Removed: .gitea/workflows/docker-build.yaml (legacy single-file workflow)
  • Added: .gitea/workflows/pr.yaml — PR Checks (hadolint + build-test on PRs to master)
  • Added: .gitea/workflows/main.yaml — Main Release (hadolint + test + build + tag on push to master)
  • Added: .gitea/workflows/tag.yaml — Tag Release (hadolint + test + build-push to Docker Hub on tag push)
  • Added: .gitea/workflows/cron.yaml — Nightly Rebuild (hadolint + test + build-push on schedule 0 0 * * *)

Correct SHAs (from htpasswd reference)

Action SHA
actions/checkout df4cb1c069e1874edd31b4311f1884172cec0e10 (v6)
hadolint/hadolint-action 2332a7b74a6de0dda2e2221d575162eba76ba5e5 (v3.3.0)
docker/setup-buildx-action d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 (v4)
docker/login-action 650006c6eb7dba73a995cc03b0b2d7f5ca915bee (v4)
docker/metadata-action 80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 (v6)
docker/build-push-action f9f3042f7e2789586610d7f5c8f03e5195baf (v7.2.0)
anothrNick/github-tag-action 4ed44965e0db8dab2b466a16da04aec3cc312fd8 (v1.75.0)

Workflow breakdown

Workflow Triggers Jobs Docker Push
pr.yaml PR → master hadolint, build-test No
main.yaml Push → master hadolint, test, build, tag No (tags only)
tag.yaml Push → tags/* hadolint, test, build-push Yes
cron.yaml 0 0 * * * hadolint, test, build-push Yes (latest tag rebuild)

Note: Image jcabillot/ttrss, repo web/docker-ttrss, RELEASE_BRANCHES: master.

## Summary Split the monolithic `docker-build.yaml` into the standard 4-workflow pattern matching the proven `perso/htpasswd` reference. ## Changes - **Removed**: `.gitea/workflows/docker-build.yaml` (legacy single-file workflow) - **Added**: `.gitea/workflows/pr.yaml` — PR Checks (hadolint + build-test on PRs to master) - **Added**: `.gitea/workflows/main.yaml` — Main Release (hadolint + test + build + tag on push to master) - **Added**: `.gitea/workflows/tag.yaml` — Tag Release (hadolint + test + build-push to Docker Hub on tag push) - **Added**: `.gitea/workflows/cron.yaml` — Nightly Rebuild (hadolint + test + build-push on schedule `0 0 * * *`) ## Correct SHAs (from htpasswd reference) | Action | SHA | |--------|-----| | `actions/checkout` | `df4cb1c069e1874edd31b4311f1884172cec0e10` (v6) | | `hadolint/hadolint-action` | `2332a7b74a6de0dda2e2221d575162eba76ba5e5` (v3.3.0) | | `docker/setup-buildx-action` | `d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5` (v4) | | `docker/login-action` | `650006c6eb7dba73a995cc03b0b2d7f5ca915bee` (v4) | | `docker/metadata-action` | `80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9` (v6) | | `docker/build-push-action` | `f9f3042f7e2789586610d7f5c8f03e5195baf` (v7.2.0) | | `anothrNick/github-tag-action` | `4ed44965e0db8dab2b466a16da04aec3cc312fd8` (v1.75.0) | ## Workflow breakdown | Workflow | Triggers | Jobs | Docker Push | |----------|----------|------|-------------| | `pr.yaml` | PR → master | hadolint, build-test | No | | `main.yaml` | Push → master | hadolint, test, build, tag | No (tags only) | | `tag.yaml` | Push → tags/* | hadolint, test, build-push | Yes | | `cron.yaml` | `0 0 * * *` | hadolint, test, build-push | Yes (latest tag rebuild) | **Note**: Image `jcabillot/ttrss`, repo `web/docker-ttrss`, RELEASE_BRANCHES: master.
cloudix_mcp_server added 5 commits 2026-06-13 18:20:29 -04:00
cloudix_mcp_server added 1 commit 2026-06-14 09:18:16 -04:00
cloudix_mcp_server added 1 commit 2026-06-14 09:18:22 -04:00
cloudix_mcp_server added 1 commit 2026-06-14 09:18:26 -04:00
cloudix_mcp_server added 1 commit 2026-06-14 09:18:31 -04:00
fix: rewrite pr.yaml with raw YAML (was base64)
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build-test (pull_request) Successful in 52s
128843be2a
jcabillot merged commit d8c57082a5 into master 2026-06-14 12:34:27 -04:00
jcabillot deleted branch fix/workflow-standard 2026-06-14 12:34:30 -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/docker-ttrss#11