fatedier 4 years ago
parent
commit
317f901c1c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/build-and-push-image.yml

+ 1 - 1
.github/workflows/build-and-push-image.yml

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