From 3d30b946aad30b38e554f02109a1112d5883d966 Mon Sep 17 00:00:00 2001 From: Stefan Darius <94108614+dariusstefan@users.noreply.github.com> Date: Tue, 6 Aug 2024 17:08:16 +0300 Subject: [PATCH] github: add docker push readme action --- .github/workflows/docker-readme.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/docker-readme.yml diff --git a/.github/workflows/docker-readme.yml b/.github/workflows/docker-readme.yml new file mode 100644 index 0000000..7437869 --- /dev/null +++ b/.github/workflows/docker-readme.yml @@ -0,0 +1,27 @@ +--- +name: Update Docker Hub Description +on: + push: + branches: + - main + paths: + - README.md + - .github/workflows/docker-readme.yml + +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: opensips/opensips-cli + readme-filepath: ./README.md + short-description: ${{ github.event.repository.description }} + enable-url-completion: true +