You've already forked wakapi-readme-stats
image source changed to dockerhub
This commit is contained in:
9
.github/workflows/build_image.yml
vendored
9
.github/workflows/build_image.yml
vendored
@@ -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
|
||||
|
||||
5
Makefile
5
Makefile
@@ -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
|
||||
|
||||
@@ -134,7 +134,7 @@ inputs:
|
||||
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'ghcr.io/anmol098/waka-readme-stats:master'
|
||||
image: 'waka-readme-stats:master'
|
||||
|
||||
branding:
|
||||
icon: 'activity'
|
||||
|
||||
Reference in New Issue
Block a user