From da6e3709b836cef8de1524dbf798aa0affcf892f Mon Sep 17 00:00:00 2001 From: Wang Guan Date: Sun, 15 Dec 2024 19:11:59 +0900 Subject: [PATCH] skip image push in pr event --- .github/workflows/build-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index a48d04b..484bcb8 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -50,7 +50,7 @@ jobs: uses: docker/build-push-action@v6.9.0 with: context: . - push: true + push: ${{ github.event_name != 'pull_request' }} build-args: MOEFLOW_BUILD_ID=${{ github.repository }}:${{ github.ref }}:${{ github.sha }} cache-from: