feat: Publish to dockerhub

This commit is contained in:
Florian Bouillon 2023-11-30 01:32:39 +01:00 committed by GitHub
parent ae86d77892
commit 472f4a9f08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,9 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
images: |
ghcr.io/${{ github.repository }}
aviortheking/codestats-skyline
tags: |
type=edge
type=ref,event=pr
@ -32,6 +34,12 @@ jobs:
type=semver,pattern=latest
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to Github Packages
uses: docker/login-action@v3
with:
registry: ghcr.io