thought-machine / pleasings

Addons & new build rules for Please
Apache License 2.0
98 stars 39 forks source link

OCI: supporting implicit transitive base images and digest as UUID #84

Closed tobyfielding1 closed 3 years ago

tobyfielding1 commented 3 years ago

note. This change is not backwards compatible. You will have to delete all transitive_base_images params from your build rules.

  1. Now we have the add_data function we can support transitive base images using labels and not have to specify them explicitly.

  2. Using the digest to generate the tag if a version is not specified also makes it easy to substitute for a digest reference by simply replacing : with @sha256:. This could be useful for predictably pulling the right image as part of a k8s manifest for example.