更新 .github/workflows/buidl_and_push_ghcr.yml
Some checks failed
Gitea Docker Image CI / build (push) Failing after 7s
Some checks failed
Gitea Docker Image CI / build (push) Failing after 7s
This commit is contained in:
2
.github/workflows/buidl_and_push_ghcr.yml
vendored
2
.github/workflows/buidl_and_push_ghcr.yml
vendored
@@ -35,7 +35,7 @@ jobs:
|
||||
|
||||
# 关键修正 2:回归标准 GITHUB_TOKEN + gitea.actor
|
||||
# 配合上面的 permissions 配置,这是最不会出错的组合
|
||||
echo "{\"auths\":{\"$HOST\":{\"username\":\"${{ gitea.actor }}\",\"password\":\"${{ secrets.GITHUB_TOKEN }}\"}}}" > $HOME/.docker/config.json
|
||||
echo "{\"auths\":{\"$HOST\":{\"username\":\"${{ "gitea_admin" }}\",\"password\":\"${{ secrets.PACKAGES_TOKEN }}\"}}}" > $HOME/.docker/config.json
|
||||
|
||||
- name: Build and Push with Kaniko
|
||||
uses: docker://gcr.io/kaniko-project/executor:debug
|
||||
|
||||
Reference in New Issue
Block a user