chore: udpate deploy.yaml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m38s

This commit is contained in:
Zpekii
2026-01-25 21:34:49 +08:00
parent e90fa00227
commit 93837e0248

View File

@@ -59,7 +59,7 @@ jobs:
- name: Update manifest and Push to Git - name: Update manifest and Push to Git
run: | run: |
# 使用 kustomize 或 sed 修改镜像版本 # 使用 kustomize 或 sed 修改镜像版本
sed -i "s|image: .*:.*|image: harbor.0orz.top/go-example/go-example:${{ gitea.sha }}|g" deployment.yaml sed -i "s|image: .*:.*|image: harbor.0orz.top/go-example/go-example:${{ gitea.sha }}|g" kustomize/deployment.yaml
# 配置 Git 并提交回仓库 # 配置 Git 并提交回仓库
git config --global user.name "Gitea Action" git config --global user.name "Gitea Action"