How can I push a tag that is "not" known upfront when specifying the resource? That is, how to push a tag that is only known when building the image? I thought additional_tags would satisfy this need, but is failing.
Configure a put step to push a tag created in that task using additional_tags
Expected behavior
The image is successfully pushed with the additional_tags.
There clearly needs to be a way to push a tag without needing to specify one up-front in the source resource. This is because a tag may not be known until the actual image building task.
How can I push a tag that is "not" known upfront when specifying the resource? That is, how to push a tag that is only known when building the image? I thought additional_tags would satisfy this need, but is failing.
My source does not specify a tag such as:
My put to push the tag has the following where the
additional_tags/tags
file contains a single tag "dev" with no quotes:The put step fails with:
Reproduction steps
Expected behavior
The image is successfully pushed with the additional_tags.
There clearly needs to be a way to push a tag without needing to specify one up-front in the source resource. This is because a tag may not be known until the actual image building task.
cc: @xtremerui @cdmessin @pvaramballypivot