Docker
You're viewing a free preview. Sign in free to read every script.
Why this exists A container pipeline on GitHub is short to write and easy to get subtly wrong: a workflow that pushes images from pull requests, a token with more permissions than needed, a needs: name with a typo that…
GitHub Actions Docker Pipeline: Lint, Multi-Arch Build, Push to GHCR and Scan, Checked with actionlint
A complete workflow that lints the Dockerfile, builds for amd64 and arm64 with a shared cache, pushes to GitHub Container Registry only when it should, and scans the pushed digest, validated with the real actionlint (which also catches four typical mistakes in a broken copy).
Sign in free to read this script, along with the rest of the library.
Sign in free