Skip to content

Commit

Permalink
docker: Build and publish in ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEvilSkeleton committed Jan 4, 2025
1 parent d303717 commit 9eea54f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,12 @@ jobs:
push: true
tags: localhost:5000/fedora-base:latest

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

- name: Write the Dockerfile for the ${{ matrix.runtime.name }} runtime
run: |
Expand All @@ -74,4 +75,4 @@ jobs:
context: .
file: ${{ matrix.runtime.name }}.Dockerfile
push: true
tags: bilelmoussaoui/flatpak-github-actions:${{ matrix.runtime.name }}
tags: ghcr.io/${{ github.repository }}:${{ matrix.runtime.name }}

0 comments on commit 9eea54f

Please sign in to comment.