If I'd like to build a docker image in one pipeline step, then use it in a following step - how would I do that?
eg
default:
- step:
name: Build
image:
script:
- docker build -t imagename:local .
- docker images
- step:
name: Deploy
image:
script:
- docker images
In this example, the image shows up in the first step, but not the second