Create hub.yml

This commit is contained in:
Kroese 2024-01-14 14:30:41 +01:00 committed by GitHub
parent eeaedcf9e0
commit 697061a151
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
.github/workflows/hub.yml vendored Normal file
View file

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