From 00104a1e80b777292d93f3240d2c7dc902323b3d Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Wed, 20 Jul 2022 15:54:00 +0200 Subject: [PATCH] GHA: sync README.md to Docker Hub --- .github/workflows/sync-readme.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/sync-readme.yml diff --git a/.github/workflows/sync-readme.yml b/.github/workflows/sync-readme.yml new file mode 100644 index 0000000..297ca6b --- /dev/null +++ b/.github/workflows/sync-readme.yml @@ -0,0 +1,23 @@ +name: Sync README.md to Docker Hub + +on: + push: + branches: + - master + +jobs: + sync: + name: Sync README + runs-on: ubuntu-latest + + steps: + - name: Checkout HEAD + uses: actions/checkout@v1 + + - name: Sync README + uses: ms-jpq/sync-dockerhub-readme@e2991ea1ba48832e73555cdbd5b82f5a2e91ee9b # v1 + with: + username: icingaadmin + password: '${{ secrets.DOCKER_HUB_PERSONAL_TOKEN }}' + repository: icinga/icinga2 + readme: ./README.md