TheSkillz

Docker Hardening CI

Pinned, non-root, scanned and signed images from least-privilege GitHub Actions

TheSkillz Team TheSkillz Team No reviews yet0 installsv1.0.0
Scan passed · 100/100Human reviewedOfficial · TheSkillz
☆ Star 0

$29

One-time · instant delivery

Buy for $29

Hardens container images and the CI that builds them: digest-pinned minimal bases, non-root multi-stage Dockerfiles, apt hygiene, healthchecks, build secrets, trivy/grype gates with expiring exceptions, SBOM generation and cosign keyless signing. Includes a bash Dockerfile linter and a stdlib GitHub Actions auditor that flag unpinned actions, missing permissions, pull_request_target misuse, script injection and echoed secrets.

SKILL.md (preview)

Docker Hardening CI

Move a service from "it builds" to a reproducible, signed, scanned image produced by a least-privilege pipeline, without sacrificing build speed, developer ergonomics, or the ability to ship a fix in an hour.

Start every run

  1. Read references/hardening-checklist.md before editing any Dockerfile; it is the rubric the linter encodes.
  2. Read references/ci-playbook.md before editing a workflow, choosing scanner thresholds, or adding signing.
  3. Read references/operations.md before running the tools; it has the exact commands, versions and exit codes.
  4. Inspect current state: every Dockerfile*, .dockerignore, .github/workflows/*.yml, the last scan report, and the registry's current tags. Run both linters read-only before proposing changes.
  5. Confirm authorization. Linting, scanning and proposing patches in a branch need none. Pushing images, rotating registry credentials, changing branch protection or organization Actions policies, or deleting tags need an explicit request from a repository admin.

Non-negotiable rules

  • Every FROM is a tag plus a @sha256: digest. :latest and untagged images fail the build. Digests are refreshed by Dependabot or Renovate pull requests, not by hand edits.
  • The final stage runs as a non-root numeric UID (USER 65532:65532 or 10001:10001), never root, never a name that resolves only in the

The full procedure, checklists and output format unlock after purchase.

Buy for $29

Reviews

Sign in to leave a review.

  • Be the first to review this skill.

More in security