Merge pull request #12 from aceberg/dev

Sync README.md to DockerHub
This commit is contained in:
aceberg 2022-09-13 12:27:28 +07:00 committed by GitHub
commit a9650b4b21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 1 deletions

32
.github/workflows/docker-readme.yml vendored Normal file
View file

@ -0,0 +1,32 @@
name: DockerHub-README
on:
workflow_dispatch:
push:
branches: [ "main" ]
paths:
- 'README.md'
pull_request:
branches: [ "main" ]
paths:
- 'README.md'
env:
IMAGE_NAME: watchyourlan
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Sync README.md to DockerHub
uses: ms-jpq/sync-dockerhub-readme@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}
readme: "./README.md"

View file

@ -8,7 +8,7 @@
# WatchYourLAN
[![Docker](https://github.com/aceberg/WatchYourLAN/actions/workflows/arm-docker-publish.yml/badge.svg)](https://github.com/aceberg/WatchYourLAN/actions/workflows/arm-docker-publish.yml)
[![Docker](https://github.com/aceberg/WatchYourLAN/actions/workflows/main-docker-all.yml/badge.svg)](https://github.com/aceberg/WatchYourLAN/actions/workflows/main-docker-all.yml)
![Docker Image Size (latest semver)](https://img.shields.io/docker/image-size/aceberg/watchyourlan)
Lightweight network IP scanner with web GUI