更新 .gitea/workflows/mengningsoftware-docs-ci-cd.yaml #11
@@ -10,8 +10,8 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
# container:
|
||||
# image: gitea/runner-images:ubuntu-latest
|
||||
container:
|
||||
image: gitea/runner-images:ubuntu-latest
|
||||
steps:
|
||||
- name: 拉取代码
|
||||
uses: actions/checkout@v4
|
||||
@@ -70,8 +70,8 @@ jobs:
|
||||
# 创建新的 Application CRD
|
||||
kubectl apply -f deploy.yaml
|
||||
|
||||
- name: Clean Environment
|
||||
if: always()
|
||||
run: |
|
||||
docker rmi devstar.cn/devstar/devstar-docs:latest || true
|
||||
docker builder prune -f || true
|
||||
- name: Clean Environment
|
||||
if: always()
|
||||
run: |
|
||||
docker rmi devstar.cn/devstar/devstar-docs:latest || true
|
||||
docker builder prune -f || true
|
||||
Reference in New Issue
Block a user