The template image is an image that can take a string or the path of a file within
the workspace and output another file within the workspace with the environment
image: convey/template:latest
- TEMPLATE_STRING='branch: ${HG_BRANCH}\ncommit: ${HG_COMMIT_SHORT}'
- TEMPLATE_OUTPUT=/build_info
The path of a file within the workspace to use as a template for the output.
A string to use as a template for the output. This variable takes precedence over
`TEMPLATE_FILE` if both are provided.
One thing to note with this value is that you're most likely going to want to enclose
it with single quotes as in the example above. This will ensure the environment
variables and any escape characters such as
`\n` are still included in the output file.
The path of a file within the workspace to write the output of the template to.