diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index f7c3345..82cca83 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -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"