Add output variables to docker action #45
JeroenKnoops
started this conversation in
Ideas
Replies: 1 comment
-
Think about also sharing the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
In the config you can configure docker registries and the naming of the docker images.
We want to use those names to perform additional actions on the created images like testing the image or scanning with
tern
Solution
Ouput the following fields:
image-name
--> Pass image-name also as ouptut. f.e.node
base-image
--> This is the first in the list with tags. f.e.https://docker.io/philipssoftware/node:10
all-images
-->['https://docker.io/philipssoftware/node:10', 'https://docker.io/philipssoftware/node:10.0']
Usage
Related issues
Related to #42
42 is about showing it in the output log. This ticket is about exposing it in variables so other jobs can use it.
Beta Was this translation helpful? Give feedback.
All reactions