Migrate CI to 4-job pipeline with SHA-pinned actions #5

Merged
jcabillot merged 4 commits from feat/gitea-actions-v2 into master 2026-06-09 08:32:26 -04:00
Owner

Summary

Migrate CI pipeline to a standardized 4-job workflow:

  1. lint — Hadolint checks on the Dockerfile
  2. build — Docker build + artifact upload
  3. test — Smoke tests via tests/test.sh
  4. push — Push to Docker Hub (only on push/cron, not on PR)

Changes

  • .gitea/workflows/docker-build.yaml: Replaced single-job workflow with lint→build→test→push pipeline, all actions pinned to commit SHAs
  • tests/test.sh: Added smoke tests (putty --help, puttygen --version)
  • Dockerfile: Added # hadolint ignore=DL3018 before RUN apk add

Notes

  • Push to jcabillot/putty:latest on Docker Hub
  • Uses ChristopherHX/gitea-* actions for artifact upload/download (Gitea-compatible)
  • Schedule: every Wednesday at 3:30 UTC
## Summary Migrate CI pipeline to a standardized 4-job workflow: 1. **lint** — Hadolint checks on the Dockerfile 2. **build** — Docker build + artifact upload 3. **test** — Smoke tests via `tests/test.sh` 4. **push** — Push to Docker Hub (only on push/cron, not on PR) ## Changes - `.gitea/workflows/docker-build.yaml`: Replaced single-job workflow with lint→build→test→push pipeline, all actions pinned to commit SHAs - `tests/test.sh`: Added smoke tests (`putty --help`, `puttygen --version`) - `Dockerfile`: Added `# hadolint ignore=DL3018` before `RUN apk add` ## Notes - Push to `jcabillot/putty:latest` on Docker Hub - Uses `ChristopherHX/gitea-*` actions for artifact upload/download (Gitea-compatible) - Schedule: every Wednesday at 3:30 UTC
cloudix_mcp_server added 3 commits 2026-06-08 22:30:15 -04:00
Add hadolint ignore for apk add
Docker Build and Push / lint (pull_request) Successful in 7s
Docker Build and Push / build (pull_request) Successful in 53s
Docker Build and Push / test (pull_request) Failing after 11s
Docker Build and Push / push (pull_request) Has been skipped
0f7870c1e6
opencodecabilloteu added 1 commit 2026-06-09 08:29:53 -04:00
fix: putty --help exits 1, don't check exit code
Docker Build and Push / lint (pull_request) Successful in 8s
Docker Build and Push / build (pull_request) Successful in 35s
Docker Build and Push / test (pull_request) Successful in 23s
Docker Build and Push / push (pull_request) Has been skipped
d28683e0d0
jcabillot merged commit b33d629fb4 into master 2026-06-09 08:32:26 -04:00
jcabillot deleted branch feat/gitea-actions-v2 2026-06-09 08:32:28 -04:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: perso/putty#5