1
0
mirror of https://github.com/mveril/qp-demo synced 2024-07-22 18:57:32 +02:00

Second fix

This commit is contained in:
Mickaël Véril 2021-06-11 17:42:04 +02:00
parent 08cfc137eb
commit 0706f15f88

View File

@ -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')"