diff --git a/.github/workflows/build_and_push.yml b/.github/workflows/build_and_push.yml index 39e2d95..7b7ab2f 100644 --- a/.github/workflows/build_and_push.yml +++ b/.github/workflows/build_and_push.yml @@ -1,6 +1,6 @@ name: Build and push Docker Image -on: +on: push: branches: - master @@ -38,14 +38,14 @@ jobs: publish_description: runs-on: ubuntu-latest needs: build_and_push - + steps: - uses: actions/checkout@v2 - name: Update Docker Hub Description - uses: peter-evans/dockerhub-description@v2.1.0 - env: - DOCKERHUB_USERNAME: ${{ secrets.DOCKER_REGISTRY_USERNAME }} - DOCKERHUB_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }} - DOCKERHUB_REPOSITORY: ${{ env.DOCKERHUB_REPOSITORY }} - README_FILEPATH: ./README.md + uses: peter-evans/dockerhub-description@v3 + with: + username: ${{ secrets.DOCKER_REGISTRY_USERNAME }} + password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }} + repository: ${{ env.DOCKERHUB_REPOSITORY }} + readme-filepath: ./README.md