mirror of
https://github.com/mveril/qp-demo
synced 2024-11-04 05:03:54 +01:00
First fix
This commit is contained in:
parent
c74c954a53
commit
08cfc137eb
4
.github/workflows/docker-pull.yml
vendored
4
.github/workflows/docker-pull.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user