Skip to content

Commit c680ebb

Browse files
committed
update: release.yml
1 parent e7cd105 commit c680ebb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ jobs:
142142
with:
143143
images: |
144144
ghcr.io/${{ github.repository_owner }}/socket-log-server
145+
ccr.ccs.tencentyun.com/oz-dev/socket-log-server
146+
registry.cn-shenzhen.aliyuncs.com/ozxin/socket-log-server
145147
tags: |
146148
type=ref,enable=true,priority=600,prefix=,suffix=,event=branch
147149
type=ref,enable=true,priority=600,prefix=,suffix=,event=tag
@@ -151,6 +153,18 @@ jobs:
151153
registry: ghcr.io
152154
username: ${{ github.actor }}
153155
password: ${{ secrets.GITHUB_TOKEN }}
156+
- name: Log in to Tencent
157+
uses: docker/login-action@v3
158+
with:
159+
registry: ccr.ccs.tencentyun.com
160+
username: ${{ secrets.TENCENT_DOCKER_USERNAME }}
161+
password: ${{ secrets.TENCENT_DOCKER_PASSWORD }}
162+
- name: Log in to AliYun
163+
uses: docker/login-action@v3
164+
with:
165+
registry: registry.cn-shenzhen.aliyuncs.com
166+
username: ${{ secrets.ALIYUN_DOCKER_USERNAME }}
167+
password: ${{ secrets.ALIYUN_DOCKER_PASSWORD }}
154168
- name: Push Image
155169
uses: docker/build-push-action@v5
156170
with:

0 commit comments

Comments
 (0)