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

Allow referring images by their hashes #73

Open
AlekSi opened this issue Jul 28, 2021 · 0 comments
Open

Allow referring images by their hashes #73

AlekSi opened this issue Jul 28, 2021 · 0 comments

Comments

@AlekSi
Copy link
Contributor

AlekSi commented Jul 28, 2021

It should be possible to refer to images (and variants) by their SHA256 digest using the standard syntax NAME[:TAG][@DIGEST]. The correct digest, if present, should be enforced.

It also should be possible to update the digest with bldr update [--dry] if it is already present:

  • if an image is specified without a digest (image: autonomy/build-container:latest), then bldr update should do nothing;
  • if digest is present (image: autonomy/build-container:latest@sha256:c1a2def75622b7d1d8b4ee508720554269bdb068ba1577bd03a62a0089e9ace3), then bldr update should resolve the tag and update the digest.
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