This commit is contained in:
parent
6fdeafbc0c
commit
745dabbffd
@ -30,7 +30,9 @@ jobs:
|
|||||||
if [[ $GITHUB_REF == 'refs/tags/'* ]]; then
|
if [[ $GITHUB_REF == 'refs/tags/'* ]]; then
|
||||||
TAGS='["gitee.ltd/lxh/go-wxhelper:latest","gitee.ltd/lxh/go-wxhelper:'${GITHUB_REF/refs\/tags\//}'"]'
|
TAGS='["gitee.ltd/lxh/go-wxhelper:latest","gitee.ltd/lxh/go-wxhelper:'${GITHUB_REF/refs\/tags\//}'"]'
|
||||||
else
|
else
|
||||||
TAGS='["gitee.ltd/lxh/go-wxhelper:latest"]'
|
TAGS='["gitee.ltd/lxh/go-wxhelper:latest"]'
|
||||||
|
fi
|
||||||
|
echo '::set-output name=tags::'$TAGS
|
||||||
|
|
||||||
- name: Login to Repository
|
- name: Login to Repository
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user