File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ inputs:
2929 description : " Sets the target stage to build"
3030 required : false
3131 default : ' '
32+ image_name :
33+ description : " Image name (excluding registry). Defaults to $organization/$repository"
34+ required : false
35+ # TODO: see if this works. If not, add a step to form this value.
36+ default : ${{ inputs.organization }}/${{ inputs.repository }}
3237 login :
3338 description : ' Docker login'
3439 required : false
@@ -54,7 +59,7 @@ inputs:
5459outputs :
5560 image :
5661 description : " Docker image name"
57- value : ${{ inputs.registry }}/${{ inputs.organization }}/${{ inputs.repository }}
62+ value : ${{ inputs.registry }}/${{ inputs.image_name }}
5863 tag :
5964 description : " Docker image tag"
6065 value : ${{ steps.tag.outputs.output }}
6873 with :
6974 # list of Docker images to use as base name for tags
7075 images : |
71- ${{ inputs.registry }}/${{ inputs.organization }}/${{ inputs.repository }}
76+ ${{ inputs.registry }}/${{ inputs.image_name }}
7277 # generate Docker tags based on the following events/attributes
7378 tags : |
7479 type=sha
You can’t perform that action at this time.
0 commit comments