1
0
mirror of https://github.com/mveril/qp-demo synced 2024-12-22 04:14:12 +01:00

Error if branch name is not correct

This commit is contained in:
Mickaël Véril 2021-06-14 20:27:19 +02:00
parent c70ff10919
commit c499dfca52

View File

@ -39,7 +39,7 @@ jobs:
elif [[ "${{ steps.extract_branch.outputs.branch }}" == release_* ]]; then
echo "##[set-output name=tag;]$(echo '${GITHUB_REF#refs/heads/}' | cut -d '_' -f2-)"
else
echo "##[set-output name=tag;]$(echo 'ghtest')"
exit 1
fi
- name: Login to Docker Hub