File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 5858 # 给清单打上多个标签
5959 tags : |
6060 eryajf/go-ldap-admin-ui:${{ steps.date.outputs.today }}
61- eryajf/go-ldap-admin-ui:latest
61+ eryajf/go-ldap-admin-ui:latest
62+ # 镜像推送到 阿里云仓库
63+ - name : Login to the Ali Registry
64+ uses : docker/login-action@v2
65+ with :
66+ registry : registry.cn-hangzhou.aliyuncs.com
67+ username : ${{ secrets.ALIHUB_USERNAME }}
68+ password : ${{ secrets.ALIHUB_TOKEN }}
69+
70+ - name : Build and push to Ali
71+ uses : docker/build-push-action@v3
72+ with :
73+ context : .
74+ push : true
75+ platforms : linux/amd64,linux/arm64
76+ tags : |
77+ registry.cn-hangzhou.aliyuncs.com/${{ secrets.ALIHUB_USERNAME }}/go-ldap-admin-ui:${{ env.GITHUB_REF_NAME }}
78+ registry.cn-hangzhou.aliyuncs.com/${{ secrets.ALIHUB_USERNAME }}/go-ldap-admin-ui:latest
You can’t perform that action at this time.
0 commit comments