Skip to content

Commit 310ad1f

Browse files
authored
Update CI.yml to fix docker login issue
1 parent 0d2493f commit 310ad1f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@ jobs:
3636

3737
- name: Login container registries
3838
run: |
39-
echo $CR_PAT | docker login ghcr.io -u shenxianpeng --password-stdin
39+
docker login ghcr.io -u shenxianpeng -p '${{ secrets.CR_PAT }}'
4040
docker login -u '${{ secrets.DOCKER_USERNAME }}' -p '${{ secrets.DOCKER_PASSWORD }}'
41-
env:
42-
CR_PAT: ${{ secrets.CR_PAT }}
4341
4442
- name: Check buildx bake
4543
run: docker buildx bake --file docker-bake.hcl --print

0 commit comments

Comments
 (0)