diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eaa1a8f..3b8f107 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,6 +45,15 @@ jobs: tags: | ${{ secrets.DOCKERHUB_USERNAME }}/flightlog:latest ${{ secrets.DOCKERHUB_USERNAME }}/flightlog:${{ github.ref_name }} + - name: Update Docker Hub Description + if: ${{ github.ref_type == 'tag' && startsWith(github.ref_name, 'v') }} + uses: peter-evans/dockerhub-description@v4 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + repository: ${{ secrets.DOCKERHUB_USERNAME }}/flightlog + readme-filepath: ./README.md + enable-url-completion: true - name: Create Release if: ${{ github.ref_type == 'tag' && startsWith(github.ref_name, 'v') }} uses: actions/create-release@v1