diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index 09c4e4c..648acff 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -31,6 +31,13 @@ jobs: username: ${{ vars.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Docker Hub Description + uses: peter-evans/dockerhub-description@v3 + with: + username: ${{ vars.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + repository: ${{ vars.DOCKERHUB_USERNAME }}/llamacpp + - name: Login to GitHub Container Registry uses: docker/login-action@v1 with: @@ -49,12 +56,3 @@ jobs: ${{ vars.DOCKERHUB_USERNAME }}/llamacpp:${{ matrix.llamacpp_image }} build-args: | LLAMACPP_IMAGE=${{ matrix.llamacpp_image }} - - - name: Update DockerHub README - uses: ghcr.io/peter-evans/dockerhub-description@v2 - with: - username: ${{ vars.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - repository: llamacpp - readme: ./README.md - token: ${{ secrets.GH_TOKEN }}