Skip to content

Commit c5d2386

Browse files
committed
Update docker login
1 parent 42888b7 commit c5d2386

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ jobs:
2828
.
2929
3030
- name: Docker login
31-
env:
32-
DOCKER_USERNAME: ${{ github.actor }}
33-
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
34-
run: docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" ghcr.io
31+
run: >-
32+
echo "${{ secrets.GITHUB_TOKEN }}"
33+
| docker login -u "${{ github.actor }}" --password-stdin ghcr.io
3534
3635
- name: Push image to GitHub
3736
run: |

0 commit comments

Comments
 (0)