Align workflows with htpasswd standard pattern #8

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

Refactor .gitea/workflows/ to match the htpasswd standard pattern.

Changes

  • Added hadolint, test, build/tag dependency chain in all workflows
  • Updated build context to ./pkg with file: pkg/Dockerfile in all build-push steps
  • Added continue-on-error on hadolint linting jobs
  • Added setup-buildx in test steps (required for Docker multi-stage lint)
  • Updated image from generic to jcabillot/send
  • Updated git auth URL to scm.cabillot.eu/web/send.git with SA_TOKEN_ACTION_PUSH_TAGS
  • Added version comments on action commit SHAs for clarity
  • Added fetch-depth: 0 on checkout steps that need tag resolution
  • Cron schedule preserved from original: 0 0 * * *

Files changed

File Summary
.gitea/workflows/cron.yaml Rebuilt with hadolint → test → build-push chain; nightly at 0 0 * * *
.gitea/workflows/main.yaml Rebuilt with hadolint → test → build → tag chain; tag step auths via SA_TOKEN_ACTION_PUSH_TAGS
.gitea/workflows/pr.yaml Rebuilt with hadolint + build-test (Docker build + test.sh)
.gitea/workflows/tag.yaml Rebuilt with hadolint → test → build-push chain; metadata-action uses type=ref,event=tag
Refactor `.gitea/workflows/` to match the htpasswd standard pattern. ### Changes - **Added hadolint, test, build/tag dependency chain** in all workflows - **Updated build context** to `./pkg` with `file: pkg/Dockerfile` in all build-push steps - **Added continue-on-error** on hadolint linting jobs - **Added setup-buildx** in test steps (required for Docker multi-stage lint) - **Updated image** from generic to `jcabillot/send` - **Updated git auth URL** to `scm.cabillot.eu/web/send.git` with `SA_TOKEN_ACTION_PUSH_TAGS` - **Added version comments** on action commit SHAs for clarity - **Added fetch-depth: 0** on checkout steps that need tag resolution - **Cron schedule** preserved from original: `0 0 * * *` ### Files changed | File | Summary | |------|---------| | `.gitea/workflows/cron.yaml` | Rebuilt with hadolint → test → build-push chain; nightly at `0 0 * * *` | | `.gitea/workflows/main.yaml` | Rebuilt with hadolint → test → build → tag chain; tag step auths via SA_TOKEN_ACTION_PUSH_TAGS | | `.gitea/workflows/pr.yaml` | Rebuilt with hadolint + build-test (Docker build + test.sh) | | `.gitea/workflows/tag.yaml` | Rebuilt with hadolint → test → build-push chain; metadata-action uses `type=ref,event=tag` |
cloudix_mcp_server added 1 commit 2026-06-13 17:36:50 -04:00
Align workflows with htpasswd standard pattern
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build-test (pull_request) Failing after 14s
7f3cc66380
- Add hadolint, test, and build jobs in dependency chain matching htpasswd
- Update build context: ./pkg, file: pkg/Dockerfile
- Update image to jcabillot/send with SA_TOKEN_ACTION_PUSH_TAGS
- Add continue-on-error on hadolint jobs, setup-buildx in test steps
- Add version comments on action SHAs
- Use fetch-depth: 0 for tag-related checkouts
- Configure git auth URL with SA_TOKEN_ACTION_PUSH_TAGS for tag creation

Closes: fix/workflow-standard
cloudix_mcp_server added 1 commit 2026-06-13 19:19:14 -04:00
fix: correct SHAs in main.yaml
PR Checks / build-test (pull_request) Failing after 15s
PR Checks / hadolint (pull_request) Successful in 6s
0082dc9a48
cloudix_mcp_server added 1 commit 2026-06-13 19:19:17 -04:00
fix: correct SHAs in pr.yaml
PR Checks / hadolint (pull_request) Successful in 6s
PR Checks / build-test (pull_request) Failing after 14s
bbc4314793
cloudix_mcp_server added 1 commit 2026-06-13 19:19:23 -04:00
fix: correct build-push SHA in tag.yaml
PR Checks / hadolint (pull_request) Successful in 6s
PR Checks / build-test (pull_request) Failing after 12s
02c51866d8
cloudix_mcp_server added 1 commit 2026-06-14 10:50:40 -04:00
fix: use repo root as context, not ./pkg
PR Checks / hadolint (pull_request) Successful in 6s
PR Checks / build-test (pull_request) Failing after 13s
91d4a97082
cloudix_mcp_server added 1 commit 2026-06-14 10:50:48 -04:00
fix: use . as context, not ./pkg
PR Checks / hadolint (pull_request) Successful in 6s
PR Checks / build-test (pull_request) Failing after 12s
e9d2978bff
cloudix_mcp_server added 1 commit 2026-06-14 10:50:53 -04:00
fix: use . as context, not ./pkg
PR Checks / hadolint (pull_request) Successful in 5s
PR Checks / build-test (pull_request) Failing after 10s
52744bf26c
cloudix_mcp_server added 1 commit 2026-06-14 10:50:58 -04:00
fix: use . as context, not ./pkg
PR Checks / hadolint (pull_request) Successful in 6s
PR Checks / build-test (pull_request) Successful in 16s
573efdf499
jcabillot merged commit a934f2035a into master 2026-06-14 12:35:42 -04:00
jcabillot deleted branch fix/workflow-standard 2026-06-14 12:35:43 -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/send#8