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

View File

@@ -9,7 +9,7 @@ help:
@echo "The action can be tested locally with: 'make run'."
@echo "NB! For local testing Python version 3.6+ and NodeJS version between 14 and 16 are required."
@echo "The action image can be built locally with: 'make container'."
@echo "NB! For local container building Docker version between ??? and ??? is required."
@echo "NB! For local container building Docker version 20+ is required."
@echo "The action directory and image can be cleaned with: 'make clean'."
.PHONY: help
@@ -40,5 +40,6 @@ clean:
rm -rf venv
rm -rf node_modules
rm -r package*.json
docker rmi -f waka-readme-stats 2>/dev/null
docker rmi -f waka-readme-stats 2>/dev/null || true
docker rmi $(docker images | grep "waka-readme-stats") 2> /dev/null || true
.PHONY: clean

View File

@@ -134,7 +134,7 @@ inputs:
runs:
using: 'docker'
image: 'ghcr.io/anmol098/waka-readme-stats:master'
image: 'waka-readme-stats:master'
branding:
icon: 'activity'