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:
|
publish-server-image:
|
||||||
name: Publish 'waka-readme-stats' image
|
name: Publish 'waka-readme-stats' image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
packages: write
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
@@ -19,14 +16,14 @@ jobs:
|
|||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker 🏋️
|
- name: Extract metadata (tags, labels) for Docker 🏋️
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v4
|
uses: docker/metadata-action@v4
|
||||||
with:
|
with:
|
||||||
images: ghcr.io/${{ github.repository }}
|
images: waka-readme-stats
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
type=ref,event=pr
|
type=ref,event=pr
|
||||||
|
|||||||
5
Makefile
5
Makefile
@@ -9,7 +9,7 @@ help:
|
|||||||
@echo "The action can be tested locally with: 'make run'."
|
@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 "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 "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'."
|
@echo "The action directory and image can be cleaned with: 'make clean'."
|
||||||
.PHONY: help
|
.PHONY: help
|
||||||
|
|
||||||
@@ -40,5 +40,6 @@ clean:
|
|||||||
rm -rf venv
|
rm -rf venv
|
||||||
rm -rf node_modules
|
rm -rf node_modules
|
||||||
rm -r package*.json
|
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
|
.PHONY: clean
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ inputs:
|
|||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'ghcr.io/anmol098/waka-readme-stats:master'
|
image: 'waka-readme-stats:master'
|
||||||
|
|
||||||
branding:
|
branding:
|
||||||
icon: 'activity'
|
icon: 'activity'
|
||||||
|
|||||||
Reference in New Issue
Block a user