Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Commit 9352f6f

Browse files
committed
chore:update
1 parent 8318bed commit 9352f6f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ jobs:
4848
with:
4949
username: ${{ secrets.DOCKER_USERNAME }}
5050
password: ${{ secrets.DOCKER_PASSWORD }}
51+
- name: Log in to ALIYUNCS
52+
uses: docker/login-action@v3
53+
with:
54+
registry: registry.cn-beijing.aliyuncs.com
55+
username: ${{ secrets.DOCKER_USERNAME }}
56+
password: ${{ secrets.DOCKER_ALIYUNCS_PASSWORD }}
5157
- name: Docker build and push
5258
uses: docker/build-push-action@v3
5359
with:
@@ -60,6 +66,8 @@ jobs:
6066
tags: |
6167
${{ env.IMAGE_REPOSITORY }}:${{ env.VERSION }}
6268
${{ env.IMAGE_REPOSITORY }}:latest
69+
registry.cn-beijing.aliyuncs.com/${{ env.IMAGE_REPOSITORY }}:${{ env.VERSION }}
70+
registry.cn-beijing.aliyuncs.com/${{ env.IMAGE_REPOSITORY }}:latest
6371
platforms: |
6472
linux/amd64
6573
- name: Github release

0 commit comments

Comments
 (0)