chore: udpate deploy.yaml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m38s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m38s
This commit is contained in:
@@ -59,7 +59,7 @@ jobs:
|
||||
- name: Update manifest and Push to Git
|
||||
run: |
|
||||
# 使用 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 config --global user.name "Gitea Action"
|
||||
|
||||
Reference in New Issue
Block a user