Automatically update the description on Docker Hub

This commit is contained in:
Tim de Pater 2021-10-07 21:06:54 +02:00
parent 68d8df88dc
commit a41ad3100f
No known key found for this signature in database
GPG Key ID: BFE5D809439C9723

View File

@ -0,0 +1,21 @@
name: Update Docker Hub Description
on:
push:
branches:
- master
paths:
- README.md
- .github/workflows/dockerhub-description.yml
jobs:
dockerHubDescription:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: peterevans/dockerhub-description
short-description: ${{ github.event.repository.description }}