File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,15 +31,11 @@ jobs:
3131 --build-arg BASE_IMAGE_VERSION=${BASE_IMAGE_VERSION} \
3232 --file Dockerfile --tag $IMAGE_NAME:$VERSION
3333
34- - name : Login to GitHub Container Registry
35- uses : docker/login-action@v3
36- with :
37- registry : ghcr.io
38- username : ${{ github.actor }}
39- password : ${{ secrets.GITHUB_TOKEN }}
40-
41- # - name: Log into GitHub Container Registry
42- # run: echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
34+ # Make sure to use the correct PAT
35+ # Generate new here https://github.com/settings/tokens?type=beta
36+ # Put it here https://github.com/organizations/Container-Driven-Development/settings/secrets/actions
37+ - name : Log into GitHub Container Registry
38+ run : echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
4339
4440 - name : Push image to GitHub Container Registry
4541 run : |
You can’t perform that action at this time.
0 commit comments