diff --git a/.github/workflows/push_docker_image.yml b/.github/workflows/push_docker_image.yml index bf156bc8f..0933cbcb9 100644 --- a/.github/workflows/push_docker_image.yml +++ b/.github/workflows/push_docker_image.yml @@ -73,7 +73,7 @@ jobs: - name: push git tagged version run: | docker pull $DOCKER_REPO:git-${{ github.sha }}-amd64 - if [[ -z ${{ github.event.inputs.imageTag }} ]]; then + if [[ -z "${{ github.event.inputs.imageTag }}" ]]; then export IMAGE_TAG=${{ github.ref_name }} else export IMAGE_TAG=${{ github.event.inputs.imageTag }}