Skip to content

Commit 9eea54f

Browse files
docker: Build and publish in ghcr.io
1 parent d303717 commit 9eea54f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/docker.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ jobs:
5252
push: true
5353
tags: localhost:5000/fedora-base:latest
5454

55-
- name: Login to Docker Hub
55+
- name: Log in to the Container registry
5656
uses: docker/[email protected]
5757
with:
58-
username: ${{ secrets.DOCKERHUB_USERNAME }}
59-
password: ${{ secrets.DOCKERHUB_TOKEN }}
58+
registry: ghcr.io
59+
username: ${{ github.actor }}
60+
password: ${{ secrets.GITHUB_TOKEN }}
6061

6162
- name: Write the Dockerfile for the ${{ matrix.runtime.name }} runtime
6263
run: |
@@ -74,4 +75,4 @@ jobs:
7475
context: .
7576
file: ${{ matrix.runtime.name }}.Dockerfile
7677
push: true
77-
tags: bilelmoussaoui/flatpak-github-actions:${{ matrix.runtime.name }}
78+
tags: ghcr.io/${{ github.repository }}:${{ matrix.runtime.name }}

0 commit comments

Comments
 (0)