feat(ci): rewrite workflows matching htpasswd standard pattern #13

Merged
jcabillot merged 9 commits from fix/workflow-standard into main 2026-06-13 22:15:26 -04:00
Owner

Description

Rewrite all 4 Gitea Actions workflow files to match the standard perso/htpasswd template pattern.

Changes

File Key changes
.gitea/workflows/pr.yaml Standard PR checks — hadolint + build-test on PRs to main
.gitea/workflows/main.yaml Lint → test → build → auto-tag on push to main. No Docker Hub push (only tags). RELEASE_BRANCHES: main
.gitea/workflows/tag.yaml Lint → test → build-push with tag-based Docker metadata. Dual tags: vX.Y.Z + vX.Y.Z-latest
.gitea/workflows/cron.yaml Nightly rebuild at 0 0 * * * (kept existing schedule). Tags <latest-tag>-latest

Adaptations from htpasswd template

  • Image: jcabillot/docker-duplicacy
  • Git URL: scm.cabillot.eu/perso/docker-duplicacy.git
  • Default branch: main (was master)
  • RELEASE_BRANCHES: main
  • Cron schedule: '0 0 * * *' (preserved from original cron.yaml)
  • Git auth secret: GITHUB_TOKEN (preserved from original main.yaml)
## Description Rewrite all 4 Gitea Actions workflow files to match the standard `perso/htpasswd` template pattern. ## Changes | File | Key changes | |------|-------------| | `.gitea/workflows/pr.yaml` | Standard PR checks — hadolint + build-test on PRs to `main` | | `.gitea/workflows/main.yaml` | Lint → test → build → auto-tag on push to `main`. No Docker Hub push (only tags). `RELEASE_BRANCHES: main` | | `.gitea/workflows/tag.yaml` | Lint → test → build-push with tag-based Docker metadata. Dual tags: `vX.Y.Z` + `vX.Y.Z-latest` | | `.gitea/workflows/cron.yaml` | Nightly rebuild at `0 0 * * *` (kept existing schedule). Tags `<latest-tag>-latest` | ## Adaptations from htpasswd template - **Image**: `jcabillot/docker-duplicacy` - **Git URL**: `scm.cabillot.eu/perso/docker-duplicacy.git` - **Default branch**: `main` (was `master`) - **RELEASE_BRANCHES**: `main` - **Cron schedule**: `'0 0 * * *'` (preserved from original cron.yaml) - **Git auth secret**: `GITHUB_TOKEN` (preserved from original main.yaml)
cloudix_mcp_server added 1 commit 2026-06-13 17:39:08 -04:00
feat(ci): rewrite all 4 workflows matching htpasswd standard pattern
PR Checks / hadolint (pull_request) Failing after 3s
PR Checks / build-test (pull_request) Failing after 28s
d5a8444739
- pr.yaml: PR checks (hadolint + build-test) on PRs to main
- main.yaml: lint → test → build → auto-tag on push to main
- tag.yaml: lint → test → build-push with tag-based Docker metadata
- cron.yaml: nightly rebuild (0 0 * * *) with latest semver tag

Adapted from perso/htpasswd template with:
- Image: jcabillot/docker-duplicacy
- Git URL: scm.cabillot.eu/perso/docker-duplicacy.git
- RELEASE_BRANCHES: main
- Cron schedule: '0 0 * * *' (from original cron.yaml)
- Secret: GITHUB_TOKEN (existing)
cloudix_mcp_server added 1 commit 2026-06-13 19:11:54 -04:00
fix: correct all action SHAs and secrets in main.yaml
PR Checks / hadolint (pull_request) Failing after 3s
PR Checks / build-test (pull_request) Failing after 29s
4406bd5754
cloudix_mcp_server added 1 commit 2026-06-13 19:11:58 -04:00
cloudix_mcp_server added 1 commit 2026-06-13 19:12:07 -04:00
fix: correct all action SHAs in pr.yaml
PR Checks / build-test (pull_request) Failing after 28s
PR Checks / hadolint (pull_request) Failing after 6s
6f6f220c88
cloudix_mcp_server added 1 commit 2026-06-13 19:12:12 -04:00
fix: correct all action SHAs in tag.yaml
PR Checks / hadolint (pull_request) Failing after 2s
PR Checks / build-test (pull_request) Successful in 14s
5308c0f5c3
cloudix_mcp_server added 1 commit 2026-06-13 20:27:36 -04:00
cloudix_mcp_server added 1 commit 2026-06-13 20:27:40 -04:00
fix: remove test.sh from cron.yaml test job (no tests/test.sh in repo)
PR Checks / hadolint (pull_request) Failing after 4s
PR Checks / build-test (pull_request) Successful in 14s
6717027473
cloudix_mcp_server added 1 commit 2026-06-13 20:27:42 -04:00
fix: remove test.sh from tag.yaml test job (no tests/test.sh in repo)
PR Checks / build-test (pull_request) Successful in 13s
PR Checks / hadolint (pull_request) Failing after 2s
3e8d8e1d4d
cloudix_mcp_server added 1 commit 2026-06-13 20:27:50 -04:00
fix: remove test.sh from pr.yaml (no tests/test.sh in repo)
PR Checks / hadolint (pull_request) Successful in 6s
PR Checks / build-test (pull_request) Successful in 13s
de05328845
jcabillot merged commit 114c22fdf4 into main 2026-06-13 22:15:26 -04:00
jcabillot deleted branch fix/workflow-standard 2026-06-13 22:15:32 -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/docker-duplicacy#13