1
0
forked from lxh/go-wxhelper

💚 优化Actions工作流配置

This commit is contained in:
李寻欢 2023-10-25 09:41:12 +08:00
parent 6fdeafbc0c
commit 745dabbffd

View File

@ -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