mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
ci(docker): 更新 Docker 登录密码为 GITHUB_TOKEN
-将 Docker 登录密码从 TOKEN改为 GITHUB_TOKEN -优化 GitHub Actions 工作流的安全性和可靠性
This commit is contained in:
parent
fc94033366
commit
1bbcb19a52
1 changed files with 1 additions and 1 deletions
2
.github/workflows/docker-image.yml
vendored
2
.github/workflows/docker-image.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue