Skip to content

Commit a3524f0

Browse files
committed
Update Docker publish workflow to use GitHub Container Registry (GHCR)
1 parent e1fbba8 commit a3524f0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/docker-publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ jobs:
1616
uses: docker/setup-qemu-action@v3
1717
- name: Set up Docker Buildx
1818
uses: docker/setup-buildx-action@v3
19-
- name: Login to DockerHub
19+
- name: Login to GitHub Container Registry
2020
uses: docker/login-action@v3
2121
with:
22-
username: ${{ secrets.DOCKERHUB_USERNAME }}
23-
password: ${{ secrets.DOCKERHUB_TOKEN }}
22+
registry: ghcr.io
23+
username: ${{ github.actor }}
24+
password: ${{ secrets.GITHUB_TOKEN }}
2425
- name: Build and push
2526
uses: docker/build-push-action@v5
2627
with:

0 commit comments

Comments
 (0)