Skip to content

Commit ebf8dd2

Browse files
authored
fix(ci): update env (#26)
fix(ci): update env
1 parent 01ca2ab commit ebf8dd2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/container.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,16 @@ jobs:
9191
if: github.event_name != 'pull_request'
9292
uses: docker/login-action@v2
9393
with:
94-
registry: cn-east-3@${{ env.HUAWEICLOUD_REGISTRY_SH }}
95-
username: ${{ secrets.HUAWEICLOUD_USERNAME }}
94+
registry: ${{ env.HUAWEICLOUD_REGISTRY_SH }}
95+
username: cn-east-3@${{ secrets.HUAWEICLOUD_USERNAME }}
9696
password: ${{ secrets.HUAWEICLOUD_PASSWORD }}
9797

9898
- name: Log into registry ${{ env.HUAWEICLOUD_REGISTRY_BJ }}
9999
if: github.event_name != 'pull_request'
100100
uses: docker/login-action@v2
101101
with:
102-
registry: cn-north-4@${{ env.HUAWEICLOUD_REGISTRY_BJ }}
103-
username: ${{ secrets.HUAWEICLOUD_USERNAME }}
102+
registry: ${{ env.HUAWEICLOUD_REGISTRY_BJ }}
103+
username: cn-north-4@${{ secrets.HUAWEICLOUD_USERNAME }}
104104
password: ${{ secrets.HUAWEICLOUD_PASSWORD }}
105105

106106
- name: Log into registry ${{ env.HUAWEICLOUD_REGISTRY_GZ }}
@@ -194,4 +194,4 @@ jobs:
194194
platforms: linux/amd64,linux/arm64
195195
cache-from: type=gha
196196
cache-to: type=gha,mode=max
197-
file: Dockerfile
197+
file: Dockerfile

0 commit comments

Comments
 (0)