rules_apko icon indicating copy to clipboard operation
rules_apko copied to clipboard

Allow `apko_image.tag` to be unspecified when `output = "oci"`

Open plobsing opened this issue 1 year ago • 0 comments

The tag parameter to apko_image is documented as

tag to apply to the resulting docker tarball. only applicable when output is docker

Nevertheless, the argument is always required, even when specifying an OCI build.

It seems to me that in the OCI case, providing a value for tag makes for a misleading build file, since any value chosen will not have any effect on the built artifacts. I would prefer to omit the argument in this case.

plobsing avatar Mar 29 '24 08:03 plobsing