We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dd9867 commit 5196d44Copy full SHA for 5196d44
.github/workflows/build-and-push-images.yml
@@ -26,11 +26,13 @@ jobs:
26
- name: Set up Docker Buildx
27
uses: docker/setup-buildx-action@v1
28
29
- - name: Log in to DockerHub
+ - name: Log in to ghcr
30
uses: docker/login-action@v1
31
with:
32
- username: ${{ secrets.DOCKERHUB_USERNAME }}
33
- password: ${{ secrets.DOCKERHUB_TOKEN }}
+ registry: ghcr.io
+ username: ${{ github.actor }}
34
+ password: ${{ secrets.GITHUB_TOKEN }}
35
+
36
37
- name: Build and push Docker image
38
uses: docker/build-push-action@v2
0 commit comments