ci(docker): 更新 Docker 登录密码为 GITHUB_TOKEN

-将 Docker 登录密码从 TOKEN改为 GITHUB_TOKEN
-优化 GitHub Actions 工作流的安全性和可靠性
This commit is contained in:
zxb 2025-04-10 12:59:01 +08:00
parent fc94033366
commit 1bbcb19a52

View file

@ -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