From e54b3d2e026bc7b330d0f669d2d63db80ddcc50c Mon Sep 17 00:00:00 2001 From: sffxzzp <3407292+sffxzzp@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:17:09 +0800 Subject: [PATCH] add aliyun registry --- .github/workflows/docker.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 61fea15..b6973de 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -35,6 +35,12 @@ jobs: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Login to Aliyun Registry + uses: docker/login-action@v3 + with: + registry: registry.cn-hangzhou.aliyuncs.com + username: ${{ secrets.ALIYUN_REGISTRY_USER }} + password: ${{ secrets.ALIYUN_REGISTRY_PASSWORD }} - name: Build and Push uses: docker/build-push-action@v6 with: @@ -44,3 +50,4 @@ jobs: tags: | sffxzzp/asfcn:latest ghcr.io/sffxzzp/asfcn:latest + registry.cn-hangzhou.aliyuncs.com/sffxzzp/asfcn:latest