build: Add workflows (#2)

This commit is contained in:
Kroese 2024-01-14 14:32:50 +01:00 committed by GitHub
parent dd29940c8e
commit 3f70a9b7c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 158 additions and 3 deletions

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