Skip to content

Commit 061f1dc

Browse files
committed
Mod the ci.yaml to refresh PAT ...
1 parent b87f7e6 commit 061f1dc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: docker build docker --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
2727

2828
- name: Log into registry
29-
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
29+
run: echo "${{ secrets.GHCR_PAT }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
3030

3131
- name: Push image
3232
run: |
@@ -44,4 +44,3 @@ jobs:
4444
echo VERSION=$VERSION
4545
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
4646
docker push $IMAGE_ID:$VERSION
47-

0 commit comments

Comments
 (0)