From 926fd6e0b38a35c3108de0afdf5985c62d38612d Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Mon, 12 Dec 2022 09:13:36 +0100 Subject: [PATCH] docs: automatically update readme for emqx/emqx image on docker hub --- .github/workflows/build_and_push_docker_images.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build_and_push_docker_images.yaml b/.github/workflows/build_and_push_docker_images.yaml index 0b64b1bcc..0aa2226bb 100644 --- a/.github/workflows/build_and_push_docker_images.yaml +++ b/.github/workflows/build_and_push_docker_images.yaml @@ -180,6 +180,15 @@ jobs: file: source/${{ matrix.os[2] }} context: source + - name: Docker Hub Description + if: matrix.registry == 'docker.io' + uses: peter-evans/dockerhub-description@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + repository: "emqx/${{ needs.prepare.outputs.BUILD_PROFILE }}" + readme-filepath: ./source/deploy/docker/README.md + docker-elixir: runs-on: ${{ matrix.arch[1] }} needs: prepare