feat: migrate CI to 4-job pipeline with SHA-pinned actions #5

Merged
jcabillot merged 3 commits from feat/gitea-actions-v2 into master 2026-06-09 11:20:27 -04:00
Owner

Changes

  • Dockerfile: Added DL3009 to hadolint ignore comment
  • .gitea/workflows/docker-build.yaml: New 4-job pipeline with lint → build → test → push stages. All actions pinned to specific SHAs. Push job only runs on non-PR events (github.event_name != 'pull_request').
  • tests/test.sh: Smoke tests that verify the image runs --help and produces version output.

Jobs:

  1. lint - hadolint on Dockerfile
  2. build - docker build + save artifact
  3. test - load artifact + run test.sh
  4. push (non-PR only) - login to Docker Hub + tag & push jcabillot/sslscan:latest

Secrets needed

  • DOCKERHUB_USERNAME
  • DOCKERHUB_TOKEN
## Changes - **Dockerfile**: Added `DL3009` to hadolint ignore comment - **`.gitea/workflows/docker-build.yaml`**: New 4-job pipeline with lint → build → test → push stages. All actions pinned to specific SHAs. Push job only runs on non-PR events (`github.event_name != 'pull_request'`). - **`tests/test.sh`**: Smoke tests that verify the image runs `--help` and produces version output. Jobs: 1. **lint** - hadolint on Dockerfile 2. **build** - docker build + save artifact 3. **test** - load artifact + run test.sh 4. **push** (non-PR only) - login to Docker Hub + tag & push `jcabillot/sslscan:latest` ## Secrets needed - `DOCKERHUB_USERNAME` - `DOCKERHUB_TOKEN`
cloudix_mcp_server added 2 commits 2026-06-08 20:55:56 -04:00
feat: update CI pipeline with full URLs and correct artifact save flag
Docker Build and Push / lint (push) Successful in 13s
Docker Build and Push / build (push) Successful in 19s
Docker Build and Push / test (push) Successful in 11s
Docker Build and Push / push (push) Successful in 43s
489579f553
feat: update test.sh with proper smoke tests
Docker Build and Push / lint (pull_request) Successful in 11s
Docker Build and Push / build (pull_request) Successful in 34s
Docker Build and Push / test (pull_request) Successful in 11s
Docker Build and Push / push (pull_request) Has been skipped
Docker Build and Push / lint (push) Failing after 14m43s
Docker Build and Push / build (push) Has been skipped
Docker Build and Push / test (push) Has been skipped
Docker Build and Push / push (push) Has been skipped
4af366371e
cloudix_mcp_server added 1 commit 2026-06-09 10:51:21 -04:00
fix: add branches: [master] filter on push trigger
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Successful in 32s
Docker Build and Push / test (pull_request) Successful in 12s
Docker Build and Push / push (pull_request) Has been skipped
188e304e46
jcabillot merged commit 051404219a into master 2026-06-09 11:20:27 -04:00
jcabillot deleted branch feat/gitea-actions-v2 2026-06-09 11:20:31 -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/sslscan#5