We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1d6d78 commit 66b023bCopy full SHA for 66b023b
action.yml
@@ -22,6 +22,10 @@ inputs:
22
description: 'Path to container files, including Dockerfile'
23
required: false
24
default: '.'
25
+ name:
26
+ description: 'Name of image'
27
+ required: false
28
+ default: ''
29
30
runs:
31
using: "composite"
@@ -31,7 +35,10 @@ runs:
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=$GITHUB_REPOSITORY_OWNER/${{ inputs.name }}
41
+ elif [[ ${{ inputs.context }} == "." ]] || \
42
[[ ${{ inputs.context }} == "./" ]]; then
43
# Try to guess the image name from our docker repo naming conventions
44
# E.g., opensciencegrid/docker-frontier-squid
0 commit comments