Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enforce docker sha for decision images #337

Open
escapewindow opened this issue May 3, 2019 · 0 comments
Open

enforce docker sha for decision images #337

escapewindow opened this issue May 3, 2019 · 0 comments

Comments

@escapewindow
Copy link
Contributor

We have the reference-browser decision image tagged, but not pinned to a sha. We used to have a sha allowlist, and then removed that in favor of the sha being in the gecko .taskcluster.yml. We should probably enforce having a sha here.

There are actually three docker shas: the compressed artifact sha, and then docker has 2 different shas for an image: one with metadata and one without, iirc. I believe we want this one, but we should verify:

docker inspect --format='{{index .RepoDigests 0}}' $IMAGE

from here. Also see https://stackoverflow.com/questions/42879587/what-does-each-sha-mean-in-a-docker-image

Order of operations:

  • audit all cot-enabled repos for their decision shas
  • add the appropriate shas to the .taskcluster.yml files, and document how to update
  • enforce having a sha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant