From 0e2e3cd89d6cd98a6bd45ae722018bfeb29966c9 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Mon, 2 Dec 2024 20:48:40 +0100 Subject: [PATCH] add workflow to update Docker hub repo description --- .github/workflows/update_docker_readme.yml | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/update_docker_readme.yml diff --git a/.github/workflows/update_docker_readme.yml b/.github/workflows/update_docker_readme.yml new file mode 100644 index 0000000..a5e2216 --- /dev/null +++ b/.github/workflows/update_docker_readme.yml @@ -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 \ No newline at end of file