fix: convert crond from artifact pattern to standard htpasswd 4-workflow pattern #13

Merged
jcabillot merged 8 commits from fix/workflow-standard into master 2026-06-13 22:48:20 -04:00
Owner

Summary

Convert perso/crond from the artifact upload/download workflow pattern to the standard htpasswd 4-workflow pattern.

Changes

All 4 .gitea/workflows/ files were rewritten:

main.yaml — Master branch pushes

  • Removed: Artifact upload/download for Docker image (ChristopherHX/gitea-upload-artifact / gitea-download-artifact)
  • Removed: docker save / docker load intermediate steps
  • Removed: Direct docker tag / docker push commands in main.yaml
  • Added: docker/setup-buildx-action for builder setup
  • New job flow: hadolinttestbuildtag
  • tag job pushes a version tag via github-tag-action with proper git auth for scm.cabillot.eu
  • Uses secrets.SA_TOKEN_ACTION_PUSH_TAGS for Gitea authentication

cron.yaml — Nightly scheduled rebuild (original schedule 0 0 * * * kept)

  • New job flow: hadolinttestbuild-push
  • build-push uses docker/login-action, docker/metadata-action + docker/build-push-action to build and push directly
  • Tags: vX.Y.Z-latest (from latest git tag) when a tag exists

pr.yaml — Pull request checks

  • New job flow: hadolintbuild-test
  • Simplified: just lint, build, and run tests — no pushing

tag.yaml — Tag releases (push to v*)

  • New job flow: hadolinttestbuild-push
  • build-push uses docker/metadata-action with type=ref,event=tag to auto-generate Docker tags
  • Image: jcabillot/crond (unchanged from current metadata)
  • Tags pushed: vX.Y.Z and vX.Y.Z-latest

Pattern reference

Mirrors the standard workflow from perso/htpasswd (the canonical htpasswd pattern).

DO NOT MERGE — review only.

## Summary Convert `perso/crond` from the artifact upload/download workflow pattern to the standard **htpasswd 4-workflow pattern**. ### Changes All 4 `.gitea/workflows/` files were rewritten: #### `main.yaml` — Master branch pushes - **Removed**: Artifact upload/download for Docker image (`ChristopherHX/gitea-upload-artifact` / `gitea-download-artifact`) - **Removed**: `docker save` / `docker load` intermediate steps - **Removed**: Direct `docker tag` / `docker push` commands in main.yaml - **Added**: `docker/setup-buildx-action` for builder setup - **New job flow**: `hadolint` → `test` → `build` → `tag` - `tag` job pushes a version tag via `github-tag-action` with proper git auth for `scm.cabillot.eu` - Uses `secrets.SA_TOKEN_ACTION_PUSH_TAGS` for Gitea authentication #### `cron.yaml` — Nightly scheduled rebuild (original schedule `0 0 * * *` kept) - **New job flow**: `hadolint` → `test` → `build-push` - `build-push` uses `docker/login-action`, `docker/metadata-action` + `docker/build-push-action` to build and push directly - Tags: `vX.Y.Z-latest` (from latest git tag) when a tag exists #### `pr.yaml` — Pull request checks - **New job flow**: `hadolint` → `build-test` - Simplified: just lint, build, and run tests — no pushing #### `tag.yaml` — Tag releases (push to `v*`) - **New job flow**: `hadolint` → `test` → `build-push` - `build-push` uses `docker/metadata-action` with `type=ref,event=tag` to auto-generate Docker tags - Image: `jcabillot/crond` (unchanged from current metadata) - Tags pushed: `vX.Y.Z` and `vX.Y.Z-latest` ### Pattern reference Mirrors the standard workflow from `perso/htpasswd` (the canonical htpasswd pattern). **DO NOT MERGE** — review only.
cloudix_mcp_server added 4 commits 2026-06-13 17:50:11 -04:00
cloudix_mcp_server added 1 commit 2026-06-13 22:20:39 -04:00
cloudix_mcp_server added 1 commit 2026-06-13 22:20:45 -04:00
cloudix_mcp_server added 1 commit 2026-06-13 22:20:53 -04:00
cloudix_mcp_server added 1 commit 2026-06-13 22:20:58 -04:00
fix: rewrite pr.yaml with raw YAML (was base64)
PR Checks / hadolint (pull_request) Successful in 11s
PR Checks / build-test (pull_request) Successful in 24s
20820cc417
jcabillot merged commit b41477836b into master 2026-06-13 22:48:20 -04:00
jcabillot deleted branch fix/workflow-standard 2026-06-13 22:48:22 -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/crond#13