Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

forced SHA pinning #59

Merged
merged 5 commits into from
Jan 21, 2021
Merged

forced SHA pinning #59

merged 5 commits into from
Jan 21, 2021

Conversation

thepwagner
Copy link
Owner

Work in progress; this is a rebased branch from late October that I just realized I never finished.

The idea is for the action to optionally force Dockerfiles to pinned shasums instead of tags, e.g. so I can "follow" debian:buster, but can run any changes to the upstream tag through my CI / security scanning pipeline explicitly.

@thepwagner
Copy link
Owner Author

It really do 🎉

Screen Shot 2021-01-21 at 6 03 16 PM

$ docker inspect ghcr.io/thepwagner-smurf/alpine:3.12.0 | jq -r '.[0].RepoDigests' | grep smurf
  "ghcr.io/thepwagner-smurf/alpine@sha256:a15790640a6690aa1730c38cf0a440e2aa44aaca9b0e8931a9f2b0d7cc90fd65",

@thepwagner thepwagner marked this pull request as ready for review January 21, 2021 23:05
@thepwagner thepwagner merged commit d802f39 into main Jan 21, 2021
@thepwagner thepwagner deleted the sha-pin-wip branch January 21, 2021 23:05
@thepwagner thepwagner mentioned this pull request Jan 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant