💚 优化Actions工作流配置

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

View File

@ -31,6 +31,8 @@ jobs:
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