As I understand, build parameters are introduced as environment variables to each step in a pipeline. How can I specify an image (one which built in another pipeline) to use for a step using a build parameter?
pipeline:
build:
image: myimage:${IMAGE_TAG-latest}
commands:
- make
The idea being that I could trigger this pipeline from the pipeline that builds myimage
, passing the tag of the image that was just built and pushed, to validate that the image works before tagging it latest
. Thanks much!