更新 .github/workflows/buidl_and_push_ghcr.yml
Some checks failed
Gitea Docker Image CI / build (push) Failing after 7s

This commit is contained in:
2025-12-18 07:12:18 +00:00
parent 49fd51d0ec
commit 809d573a95

View File

@@ -35,7 +35,7 @@ jobs:
# 关键修正 2回归标准 GITHUB_TOKEN + gitea.actor # 关键修正 2回归标准 GITHUB_TOKEN + gitea.actor
# 配合上面的 permissions 配置,这是最不会出错的组合 # 配合上面的 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 - name: Build and Push with Kaniko
uses: docker://gcr.io/kaniko-project/executor:debug uses: docker://gcr.io/kaniko-project/executor:debug