version dockerhub readme and update it automatically on release

This commit is contained in:
Athou
2024-08-17 22:58:23 +02:00
parent c4c41d1494
commit 3627ee369d
3 changed files with 104 additions and 1 deletions

18
.github/workflows/dockerhub.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Update Docker Hub Description
on: release
jobs:
dockerHubDescription:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: athou/commafeed
short-description: ${{ github.event.repository.description }}
readme-filepath: commafeed-server/src/main/docker/README.md