feat: add lint, build, test, push pipeline with SHA-pinned actions #3

Merged
jcabillot merged 2 commits from feat/gitea-actions-v2 into master 2026-06-08 16:28:13 -04:00
Owner

Changes

  • Split single build job into 4 jobs: lintbuildtestpush
  • SHA-pin all actions for supply chain security
  • Replace actions/upload-artifact / actions/download-artifact with Gitea-compatible ChristopherHX equivalents
  • Switch to root build context (docker build -f pkg/Dockerfile .) — the Dockerfile does COPY ../public which is impossible with context: pkg
  • Add tests/test.sh with Docker bridge gateway networking (DinD-compatible)

Tests

  • GET / → HTTP 401 (basic_auth challenge)

Pattern

Same as web/ip PR #10

## Changes - Split single `build` job into 4 jobs: **lint** → **build** → **test** → **push** - SHA-pin all actions for supply chain security - Replace `actions/upload-artifact` / `actions/download-artifact` with Gitea-compatible [ChristopherHX](https://github.com/ChristopherHX/gitea-upload-artifact) equivalents - **Switch to root build context** (`docker build -f pkg/Dockerfile .`) — the Dockerfile does `COPY ../public` which is impossible with `context: pkg` - Add `tests/test.sh` with Docker bridge gateway networking (DinD-compatible) ## Tests - `GET /` → HTTP 401 (basic_auth challenge) ## Pattern Same as [web/ip PR #10](https://scm.cabillot.eu/web/ip/pulls/10)
cloudix_mcp_server added 1 commit 2026-06-08 15:42:28 -04:00
feat: add lint, build, test, push pipeline with SHA-pinned actions
Docker Build and Push / lint (pull_request) Successful in 13s
Docker Build and Push / build (pull_request) Successful in 1m11s
Docker Build and Push / test (pull_request) Failing after 1m7s
Docker Build and Push / push (pull_request) Has been skipped
9783b4ac90
- Split single build job into 4 jobs: lint, build, test, push
- SHA-pin all actions for supply chain security
- Use ChristopherHX artifact actions (Gitea-compatible)
- Switch to root build context (Dockerfile does COPY ../public)
- Add tests/test.sh with Docker bridge gateway networking
opencodecabilloteu added 1 commit 2026-06-08 15:53:25 -04:00
fix: create empty htpasswd so Caddy basic_auth can start
Docker Build and Push / lint (pull_request) Successful in 7s
Docker Build and Push / build (pull_request) Successful in 1m16s
Docker Build and Push / test (pull_request) Successful in 18s
Docker Build and Push / push (pull_request) Has been skipped
16c858542e
jcabillot merged commit a017d428a4 into master 2026-06-08 16:28:13 -04:00
jcabillot deleted branch feat/gitea-actions-v2 2026-06-08 16:28:15 -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: web/send#3