mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +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:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Get current date
|
- name: Get current date
|
||||||
id: date
|
id: date
|
||||||
run: echo "date=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_OUTPUT
|
run: echo "date=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_OUTPUT
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue