Convert to standard htpasswd 4-workflow pattern (no artifact upload/download) #10

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

Summary

Convert CI/CD from the artifact upload/download pattern to the standard htpasswd 4-workflow pattern. This removes all use of docker save/docker load + ChristopherHX/gitea-upload-artifact/gitea-download-artifact intermediaries.

Changes

main.yaml — Push to master:

  • Added hadolint lint job (continue-on-error)
  • test builds image directly (no artifact dependency)
  • build builds jcabillot/cv:${{ github.sha }}, no push
  • tag uses github-tag-action with SA_TOKEN_ACTION_PUSH_TAGS for git auth

cron.yaml — Nightly rebuild (preserves original 0 0 * * * schedule):

  • Added hadolint lint job (continue-on-error)
  • test builds image directly
  • build-push logs into Docker Hub, gets latest tag via git describe, generates metadata, builds and pushes with vX.Y.Z-latest tag

pr.yaml — PR checks:

  • Simplified: parallel hadolint and build-test, no artifact dependency

tag.yaml — Tag release (v*):

  • Added hadolint lint job (continue-on-error)
  • test builds image directly
  • build-push logs into Docker Hub, generates metadata from tag ref, builds and pushes both vX.Y.Z and vX.Y.Z-latest tags

Key improvements

  • No artifact upload/download — each job builds what it needs
  • docker/metadata-action for clean tag generation
  • docker/build-push-action for combined build+push
  • docker/setup-buildx-action for modern builder environment
  • continue-on-error: true on hadolint so linting never blocks CI
## Summary Convert CI/CD from the artifact upload/download pattern to the standard **htpasswd 4-workflow pattern**. This removes all use of `docker save`/`docker load` + `ChristopherHX/gitea-upload-artifact`/`gitea-download-artifact` intermediaries. ### Changes **main.yaml** — Push to master: - Added `hadolint` lint job (continue-on-error) - `test` builds image directly (no artifact dependency) - `build` builds `jcabillot/cv:${{ github.sha }}`, no push - `tag` uses `github-tag-action` with `SA_TOKEN_ACTION_PUSH_TAGS` for git auth **cron.yaml** — Nightly rebuild (preserves original `0 0 * * *` schedule): - Added `hadolint` lint job (continue-on-error) - `test` builds image directly - `build-push` logs into Docker Hub, gets latest tag via `git describe`, generates metadata, builds and pushes with `vX.Y.Z-latest` tag **pr.yaml** — PR checks: - Simplified: parallel `hadolint` and `build-test`, no artifact dependency **tag.yaml** — Tag release (`v*`): - Added `hadolint` lint job (continue-on-error) - `test` builds image directly - `build-push` logs into Docker Hub, generates metadata from tag ref, builds and pushes both `vX.Y.Z` and `vX.Y.Z-latest` tags ### Key improvements - No artifact upload/download — each job builds what it needs - `docker/metadata-action` for clean tag generation - `docker/build-push-action` for combined build+push - `docker/setup-buildx-action` for modern builder environment - `continue-on-error: true` on hadolint so linting never blocks CI
cloudix_mcp_server added 4 commits 2026-06-13 17:54:58 -04:00
cloudix_mcp_server added 1 commit 2026-06-13 19:21:33 -04:00
fix: correct SHAs in cron.yaml
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build-test (pull_request) Failing after 26s
08208bc7a7
cloudix_mcp_server added 1 commit 2026-06-13 19:21:40 -04:00
fix: correct SHAs in pr.yaml
PR Checks / build-test (pull_request) Successful in 15s
PR Checks / hadolint (pull_request) Successful in 8s
24de34cdcc
cloudix_mcp_server added 1 commit 2026-06-13 19:21:43 -04:00
fix: correct SHAs in tag.yaml
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build-test (pull_request) Successful in 15s
9da1a79f70
jcabillot merged commit 42e16df20f into master 2026-06-13 19:49:22 -04:00
jcabillot deleted branch fix/workflow-standard 2026-06-13 19:49: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: web/cv#10