ci(docker): 为 manifest 更新操作添加 GITHUB_TOKEN
在更新 manifest 时添加 GITHUB_TOKEN以解决权限问题。这个改动解决了在没有适当 权限时无法成功更新 manifest 的问题。
This commit is contained in:
parent
3e7652eeb2
commit
7a979cd1a0
2
.github/workflows/docker-publish.yml
vendored
2
.github/workflows/docker-publish.yml
vendored
@ -151,6 +151,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: manifest
|
||||
token: ${{ secrets.GITHUBTOKEN }}
|
||||
- name: Update manifest
|
||||
if: github.event_name == 'push'
|
||||
uses: mikefarah/yq@master
|
||||
@ -165,3 +166,4 @@ jobs:
|
||||
commit_user_name: "github-actions[bot]"
|
||||
commit_user_email: "github-actions[bot]@users.noreply.github.com"
|
||||
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user