Repository navigation
What's new
When a Dockerfile is detected, ShieldCI now automatically signs the built Docker image using Cosign in keyless mode via GitHub Actions OIDC.
How it works
- The image is built and pushed to
ghcr.io/<owner>/<repo>:<sha> - Trivy scans the pushed image for vulnerabilities
- Cosign signs the image — no keys or secrets required
The signature is tied to the GitHub Actions identity and stored in the public Rekor transparency log.
Verification
Anyone can verify a signed image with:
cosign verify ghcr.io/<owner>/<repo>:<sha> \
--certificate-identity-regexp="https://github.com/<owner>/<repo>" \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com"No configuration required
GITHUB_TOKEN is used for both the ghcr.io push and the OIDC signing — nothing to add on the user side.