Commit graph

10 commits

Author SHA1 Message Date
docker-claude
a79aad9fc8 fix(security): remove MCP credentials from managed-settings.json; bump Trivy to 0.70.0
Some checks failed
Build images / check-docker (push) Successful in 1s
Build images / scan (push) Failing after 50s
Build images / build-and-push (push) Has been skipped
settings.json is COPY-ed into the image at build time. Putting MCP server
config with credential env references there risks baking tokens into the
image if placeholders are ever replaced with real values. Move MCP server
config to ~/.claude/settings.json (runtime volume mount) instead.
Managed settings now contains policy only: models, permissions, telemetry.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 16:00:37 +02:00
docker-claude
94dadbbe8e chore(ci): pull trivy from registry mirror
Some checks failed
Build images / check-docker (push) Successful in 3s
Build images / scan (push) Failing after 31s
Build images / build-and-push (push) Has been skipped
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 12:04:24 +02:00
docker-claude
4a0f2e90fc fix(ci): replace trivy-action with docker run to fix missing binary
trivy-action@v0.35.0 expects trivy pre-installed in the runner environment.
Switch to docker run aquasec/trivy:0.69.3 which uses the Docker daemon
already available in the pipeline. Pin version via TRIVY_IMAGE env var.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 12:03:17 +02:00
docker-claude
e6b46087b3 feat(ci): generate SBOMs in scan job and attach attestations on push
Some checks failed
Build images / check-docker (push) Successful in 3s
Build images / scan (push) Failing after 46s
Build images / build-and-push (push) Has been skipped
Scan job: run Trivy before the security gate to emit a CycloneDX SBOM
for each image (exit-code 0), then run the HIGH/CRITICAL gate as before.
SBOMs are uploaded as a pipeline artifact (90-day retention) with
if: always() so they're available even when the security gate fails.

Build job: add sbom: true and provenance: true to both build-push steps
so BuildKit attaches SBOM and provenance attestations to the image
manifest in the registry.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 11:59:24 +02:00
docker-claude
530def213b feat(ci): add Trivy container security scanning before push
Some checks failed
Build images / check-docker (push) Successful in 3s
Build images / scan (push) Failing after 1m28s
Build images / build-and-push (push) Has been skipped
Add a scan job between check-docker and build-and-push. Builds each image
locally (no push, current platform only), runs Trivy v0.35.0 against it,
and fails on unfixed HIGH/CRITICAL CVEs. build-and-push only runs if both
scans pass.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 11:53:16 +02:00
docker-claude
1dee611fb3 fix repository path
All checks were successful
Build images / check-docker (push) Successful in 3s
Build images / build-and-push (push) Successful in 5m46s
2026-04-15 21:39:10 +02:00
docker-claude
a5af0a5427 ci: also tag builds as latest
All checks were successful
Build images / check-docker (push) Successful in 2s
Build images / build-and-push (push) Successful in 4m53s
2026-04-15 17:06:53 +02:00
docker-claude
ff9ed447c0 update workflow
All checks were successful
Build images / check-docker (push) Successful in 3s
Build images / build-and-push (push) Successful in 4m30s
2026-04-15 16:52:40 +02:00
docker-claude
50cfa9da4e fix workflow
Some checks failed
Build images / check-docker (push) Successful in 3s
Build images / build-and-push (push) Failing after 52s
2026-04-15 16:49:55 +02:00
docker-claude
1dbbbc840d ci: add Forgejo action to build and push Docker images to registry
Some checks failed
Build and push Docker images / build (./claude, claude) (push) Failing after 33s
Build and push Docker images / build (./proxy, proxy) (push) Failing after 11s
2026-04-15 08:56:25 +02:00