1
0
mirror of https://github.com/mveril/qp-demo synced 2024-11-04 05:03:54 +01:00

First fix

This commit is contained in:
Mickaël Véril 2021-06-11 16:21:22 +02:00
parent c74c954a53
commit 08cfc137eb

View File

@ -45,10 +45,10 @@ jobs:
id: extract_docker_tag id: extract_docker_tag
shell: bash shell: bash
run: | run: |
if ${{ steps.extract_branch.outputs.branch }} -eq "master"; then if '${{ steps.extract_branch.outputs.branch }}' -eq "master"; then
echo "##[set-output name=tag;]$(echo 'latest')" 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-)" echo "##[set-output name=tag;]$(echo '${{ steps.extract_branch.outputs.branch }}' | cut -d '_' -f2-)"
else else
echo "##[set-output name=tag;]$(echo 'ghtest')" echo "##[set-output name=tag;]$(echo 'ghtest')"
fi fi