add workflow to update Docker hub repo description
This commit is contained in:
parent
e460ac20a4
commit
0e2e3cd89d
1 changed files with 23 additions and 0 deletions
23
.github/workflows/update_docker_readme.yml
vendored
Normal file
23
.github/workflows/update_docker_readme.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
name: Update Docker Hub Description
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- README.md
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
dockerHubDescription:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Docker Hub Description
|
||||
uses: peter-evans/dockerhub-description@v4
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
repository: jcpd/docker-dotclear
|
||||
short-description: ${{ github.event.repository.description }}
|
||||
enable-url-completion: true
|
Loading…
Reference in a new issue