diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 7bdfa60..9b845e2 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -19,7 +19,7 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and push + name: Build and push images uses: docker/build-push-action@v5 with: context: . @@ -27,4 +27,11 @@ jobs: push: true tags: | ${{ secrets.DOCKERHUB_USERNAME }}/bili-sync:${{ github.ref_name }} - ${{ secrets.DOCKERHUB_USERNAME }}/bili-sync:latest \ No newline at end of file + ${{ secrets.DOCKERHUB_USERNAME }}/bili-sync:latest + - + name: Update DockerHub description + uses: peter-evans/dockerhub-description@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + repository: ${{ secrets.DOCKERHUB_USERNAME }}/bili-sync \ No newline at end of file