I’m wondering if there’s currently a way to set an environment variable in one pipeline step so that it could be used as the image identifier in another. Concretely, I’m wondering if there’s a way to do the following:
# This step sets the value VAR_FOO - name: a-step image: some/image:latest ... - name: another-step image: an/image/determined/by/foo:$VAR_FOO ...
It would be helpful to run an image whose hash is determined during the drone runtime. Otherwise, I would have to grab that image identifier and run a docker image within another docker image (which I’m trying to avoid).