From 1bbcb19a527d556f2438ee66f8d27632b1750a26 Mon Sep 17 00:00:00 2001 From: zxb Date: Thu, 10 Apr 2025 12:59:01 +0800 Subject: [PATCH] =?UTF-8?q?ci(docker):=20=E6=9B=B4=E6=96=B0=20Docker=20?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=AF=86=E7=A0=81=E4=B8=BA=20GITHUB=5FTOKEN?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -将 Docker 登录密码从 TOKEN改为 GITHUB_TOKEN -优化 GitHub Actions 工作流的安全性和可靠性 --- .github/workflows/docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 421cd8ff8..ef60f279c 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -29,7 +29,7 @@ jobs: with: registry: ghcr.io username: ${{ github.actor }} - password: ${{ secrets.TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Get current date id: date run: echo "date=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_OUTPUT