File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ inputs:
22
22
description : ' Path to container files, including Dockerfile'
23
23
required : false
24
24
default : ' .'
25
+ name :
26
+ description : ' Name of image, including the organization (e.g. "opensciencegrid/image")'
27
+ required : false
28
+ default : ' '
25
29
26
30
runs :
27
31
using : " composite"
31
35
- id : generate-image-name
32
36
shell : bash
33
37
run : |
34
- if [[ ${{ inputs.context }} == "." ]] || \
38
+ if [[ -n ${{ inputs.name }} ]]; then
39
+ # A name was specified
40
+ IMAGE_NAME=${{ inputs.name }}
41
+ elif [[ ${{ inputs.context }} == "." ]] || \
35
42
[[ ${{ inputs.context }} == "./" ]]; then
36
43
# Try to guess the image name from our docker repo naming conventions
37
44
# E.g., opensciencegrid/docker-frontier-squid
You can’t perform that action at this time.
0 commit comments