Skip to content

Commit

Permalink
feat: change acr key to usename
Browse files Browse the repository at this point in the history
  • Loading branch information
meta-d committed Sep 11, 2023
1 parent b63b826 commit a20c528
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker-build-publish-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Build and Publish Docker Images Demo
on:
push:
branches: [ "develop" ]

pull_request:
branches: [ "develop" ]

jobs:

ocap-api:
Expand Down Expand Up @@ -43,9 +45,8 @@ jobs:
- uses: aliyun/acr-login@v1
with:
login-server: 'https://registry.cn-hangzhou.aliyuncs.com'
region-id: 'cn-hangzhou'
access-key-id: ${{ secrets.ACR_USERNAME }}
access-key-secret: ${{ secrets.ACR_PASSWORD }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}

- name: Push to Aliyun Registry
run: |
Expand Down Expand Up @@ -88,9 +89,8 @@ jobs:
- uses: aliyun/acr-login@v1
with:
login-server: 'https://registry.cn-hangzhou.aliyuncs.com'
region-id: 'cn-hangzhou'
access-key-id: ${{ secrets.ACR_USERNAME }}
access-key-secret: ${{ secrets.ACR_PASSWORD }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}

- name: Push to Aliyun Registry
run: |
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/docker-build-publish-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ jobs:
- uses: aliyun/acr-login@v1
with:
login-server: 'https://registry.cn-hangzhou.aliyuncs.com'
region-id: 'cn-hangzhou'
access-key-id: ${{ secrets.ACR_USERNAME }}
access-key-secret: ${{ secrets.ACR_PASSWORD }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}

- name: Push to Aliyun Registry
run: |
Expand Down Expand Up @@ -90,9 +89,8 @@ jobs:
- uses: aliyun/acr-login@v1
with:
login-server: 'https://registry.cn-hangzhou.aliyuncs.com'
region-id: 'cn-hangzhou'
access-key-id: ${{ secrets.ACR_USERNAME }}
access-key-secret: ${{ secrets.ACR_PASSWORD }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}

- name: Push to Aliyun Registry
run: |
Expand Down

0 comments on commit a20c528

Please sign in to comment.