image source changed to dockerhub

This commit is contained in:
pseusys
2023-02-11 13:26:37 +01:00
parent c1c433923f
commit a827233485
3 changed files with 7 additions and 9 deletions

View File

@@ -7,9 +7,6 @@ jobs:
publish-server-image:
name: Publish 'waka-readme-stats' image
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout 🛎️
@@ -19,14 +16,14 @@ jobs:
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker 🏋️
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository }}
images: waka-readme-stats
tags: |
type=ref,event=branch
type=ref,event=pr