Skip to content

Commit

Permalink
add aliyun registry
Browse files Browse the repository at this point in the history
  • Loading branch information
sffxzzp authored Jul 2, 2024
1 parent 7c6b038 commit e54b3d2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -44,3 +50,4 @@ jobs:
tags: |
sffxzzp/asfcn:latest
ghcr.io/sffxzzp/asfcn:latest
registry.cn-hangzhou.aliyuncs.com/sffxzzp/asfcn:latest

0 comments on commit e54b3d2

Please sign in to comment.