File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,15 +42,15 @@ runs:
42
42
- id : generate-image-name
43
43
shell : bash
44
44
run : |
45
- if [[ -n ${{ inputs.name }} ]]; then
45
+ if [[ -n " ${{ inputs.name }}" ]]; then
46
46
# A name was specified
47
47
IMAGE_NAME=${{ inputs.name }}
48
- elif [[ ${{ inputs.context }} == "." ]] || \
48
+ elif [[ " ${{ inputs.context }}" == "." ]] || \
49
49
[[ ${{ inputs.context }} == "./" ]]; then
50
50
# Try to guess the image name from our docker repo naming conventions
51
51
# E.g., opensciencegrid/docker-frontier-squid
52
52
IMAGE_NAME=${GITHUB_REPOSITORY/\/docker-/\/}
53
- elif [[ -d ${{ inputs.context }} ]]; then
53
+ elif [[ -d " ${{ inputs.context }}" ]]; then
54
54
# Assume that the containing dir is the image name
55
55
# TODO: to support more orgs in the opensciencegrid/images repo,
56
56
# grab the image name from the full context path instead
You can’t perform that action at this time.
0 commit comments