diff --git a/.github/workflows/base-image-build.yml b/.github/workflows/base-image-build.yml deleted file mode 100644 index 69cb00ee8..000000000 --- a/.github/workflows/base-image-build.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: build-node-base-image -# 废弃,比默认的占用内存更多 -on: - push: - branches: ['v2-dev1'] - paths: - - "scripts/build/Dockerfile" -# schedule: -# - # 国际时间 19:17 执行,北京时间3:17 ↙↙↙ 改成你想要每天自动执行的时间 -# - cron: '17 19 * * *' -permissions: - contents: read - packages: write - -jobs: - build-node-base-image: - runs-on: ubuntu-latest - steps: - - name: Checkout Code - uses: actions/checkout@v4 - with: - fetch-depth: 0 - lfs: true - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.dockerhub_username }} - password: ${{ secrets.dockerhub_password }} - - - name: Build default platforms - uses: docker/build-push-action@v6 - with: - platforms: linux/amd64,linux/arm64,linux/arm/v7 - push: true - context: ./scripts/build/ - tags: | - greper/node-base:22-alpine-2 - \ No newline at end of file diff --git a/.github/workflows/deploy-demo.yml b/.github/workflows/deploy-demo.yml index 3759cba30..ad7960146 100644 --- a/.github/workflows/deploy-demo.yml +++ b/.github/workflows/deploy-demo.yml @@ -19,6 +19,7 @@ permissions: jobs: deploy-certd-demo: runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: Checkout Code uses: actions/checkout@v4 diff --git a/.github/workflows/publish-atom.yaml b/.github/workflows/publish-atom.yaml index f0bae6c80..fdf6e87cd 100644 --- a/.github/workflows/publish-atom.yaml +++ b/.github/workflows/publish-atom.yaml @@ -19,6 +19,7 @@ permissions: jobs: publish-atomgit: runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: Checkout Code uses: actions/checkout@v4 diff --git a/.github/workflows/publish-gitee.yaml b/.github/workflows/publish-gitee.yaml index 6530a0c8a..747492212 100644 --- a/.github/workflows/publish-gitee.yaml +++ b/.github/workflows/publish-gitee.yaml @@ -17,8 +17,9 @@ permissions: packages: write jobs: - publish-atomgit: + publish-gitee: runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: Checkout Code uses: actions/checkout@v4