mirror of
https://github.com/gravitl/netmaker.git
synced 2025-12-11 14:57:29 +08:00
input use
This commit is contained in:
parent
62fbd0676f
commit
e805e9115e
1 changed files with 4 additions and 4 deletions
8
.github/workflows/publish-docker.yml
vendored
8
.github/workflows/publish-docker.yml
vendored
|
|
@ -19,8 +19,8 @@ jobs:
|
|||
-
|
||||
name: Set tag
|
||||
run: |
|
||||
if [[ -n "${{ github.event.inputs.tag }}" ]]; then
|
||||
TAG=${{ github.event.inputs.tag }}
|
||||
if [[ -n "${{ inputs.tag }}" ]]; then
|
||||
TAG=${{ inputs.tag }}
|
||||
elif [[ "${{ github.ref_name }}" == 'master' ]]; then
|
||||
TAG="latest"
|
||||
else
|
||||
|
|
@ -59,8 +59,8 @@ jobs:
|
|||
-
|
||||
name: Set tag
|
||||
run: |
|
||||
if [[ -n "${{ github.event.inputs.tag }}" ]]; then
|
||||
TAG=${{ github.event.inputs.tag }}
|
||||
if [[ -n "${{ inputs.tag }}" ]]; then
|
||||
TAG=${{ inputs.tag }}
|
||||
elif [[ "${{ github.ref_name }}" == 'master' ]]; then
|
||||
TAG="latest"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue