input use

This commit is contained in:
Matthew R Kasun 2023-04-14 13:59:47 -04:00
parent 62fbd0676f
commit e805e9115e

View file

@ -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