Skip to content

Commit 5196d44

Browse files
authored
Update build-and-push-images.yml
1 parent 7dd9867 commit 5196d44

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build-and-push-images.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ jobs:
2626
- name: Set up Docker Buildx
2727
uses: docker/setup-buildx-action@v1
2828

29-
- name: Log in to DockerHub
29+
- name: Log in to ghcr
3030
uses: docker/login-action@v1
3131
with:
32-
username: ${{ secrets.DOCKERHUB_USERNAME }}
33-
password: ${{ secrets.DOCKERHUB_TOKEN }}
32+
registry: ghcr.io
33+
username: ${{ github.actor }}
34+
password: ${{ secrets.GITHUB_TOKEN }}
35+
3436

3537
- name: Build and push Docker image
3638
uses: docker/build-push-action@v2

0 commit comments

Comments
 (0)