This commit is contained in:
fatedier 2020-09-23 14:40:22 +08:00
parent cd5314466c
commit 317f901c1c

View File

@ -74,7 +74,7 @@ jobs:
- -
name: Get Image Tag Name name: Get Image Tag Name
run: | run: |
if [ x${{ github.event.inputs.logLevel }} == x"" ]; then if [ x${{ github.event.inputs.tag }} == x"" ]; then
echo ::set-env name=TAG_NAME::${GITHUB_REF#refs/*/} echo ::set-env name=TAG_NAME::${GITHUB_REF#refs/*/}
else else
echo ::set-env name=TAG_NAME::${{ github.event.inputs.tag }} echo ::set-env name=TAG_NAME::${{ github.event.inputs.tag }}