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` |
- 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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Refactor
.gitea/workflows/to match the htpasswd standard pattern.Changes
./pkgwithfile: pkg/Dockerfilein all build-push stepsjcabillot/sendscm.cabillot.eu/web/send.gitwithSA_TOKEN_ACTION_PUSH_TAGS0 0 * * *Files changed
.gitea/workflows/cron.yaml0 0 * * *.gitea/workflows/main.yaml.gitea/workflows/pr.yaml.gitea/workflows/tag.yamltype=ref,event=tag