From 56696b3ad9a96ed4addbb44972f305513d6c9386 Mon Sep 17 00:00:00 2001 From: amtoaer Date: Sat, 25 Nov 2023 17:46:26 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=9B=B4=E6=96=B0=20docker=20hub=20?= =?UTF-8?q?=E7=9A=84=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-image.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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