note. This change is not backwards compatible. You will have to delete all transitive_base_images params from your build rules.
Now we have the add_data function we can support transitive base images using labels and not have to specify them explicitly.
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.
note. This change is not backwards compatible. You will have to delete all
transitive_base_images
params from your build rules.Now we have the
add_data
function we can support transitive base images using labels and not have to specify them explicitly.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.