diff --git a/.github/workflows/docker-pull.yml b/.github/workflows/docker-pull.yml index 8132521..e4f9f4d 100644 --- a/.github/workflows/docker-pull.yml +++ b/.github/workflows/docker-pull.yml @@ -45,9 +45,9 @@ jobs: id: extract_docker_tag shell: bash run: | - if '${{ steps.extract_branch.outputs.branch }}' -eq "master"; then + if [ "${{ steps.extract_branch.outputs.branch }}" == "master" ]; then echo "##[set-output name=tag;]$(echo 'latest')" - elif [[${{ steps.extract_branch.outputs.branch }} = release_*]]; then + elif [[ "${{ steps.extract_branch.outputs.branch }}" == release_* ]]; then echo "##[set-output name=tag;]$(echo '${{ steps.extract_branch.outputs.branch }}' | cut -d '_' -f2-)" else echo "##[set-output name=tag;]$(echo 'ghtest')"