Merge branch 'main' of https://git.0orz.top/Zpekii/go-example
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m32s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m32s
This commit is contained in:
@@ -53,7 +53,7 @@ jobs:
|
||||
- name: Push Docker image to local registry
|
||||
run: |
|
||||
docker push localhost:8180/go-example/go-example:${{ gitea.sha }}
|
||||
- name: Update manifest and Push to Git
|
||||
- name: Update manifest and Push to Git
|
||||
run: |
|
||||
# 使用 kustomize 或 sed 修改镜像版本
|
||||
sed -i "s|image: .*:.*|image: localhost:8180/go-example/go-example:${{ gitea.sha }}|g" deployment.yaml
|
||||
|
||||
Reference in New Issue
Block a user