From efbf17e54a50f36e4a0d9fa8aa57ce2ea952aa02 Mon Sep 17 00:00:00 2001 From: adamus1red Date: Sat, 23 Nov 2024 13:29:30 +0000 Subject: [PATCH] Update dockerhub readme automatically on push to `master` --- .github/workflows/readme-update.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/readme-update.yml diff --git a/.github/workflows/readme-update.yml b/.github/workflows/readme-update.yml new file mode 100644 index 0000000..fd00fc8 --- /dev/null +++ b/.github/workflows/readme-update.yml @@ -0,0 +1,20 @@ +name: Docker Build and Publish + +on: + push: + branches: [ master ] + workflow_dispatch: + +jobs: + readme: + name: Update DockerHub readme + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Docker Hub Description + uses: peter-evans/dockerhub-description@v4 + with: + username: ${{ secrets.DOCKER_HUB_USERNAME }} + password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} + repository: ${{ secrets.DOCKER_SOPEL_IMAGE_NAME }} \ No newline at end of file