From fe21213e6a7572edeaa618d7fe44234d7c014307 Mon Sep 17 00:00:00 2001 From: Croxx Date: Mon, 11 Mar 2024 14:24:09 +0800 Subject: [PATCH] chore(ci): skip docker pre-build step if the target is skipped in ENV (#15579) Signed-off-by: MrCroxx --- ci/workflows/docker.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/workflows/docker.yml b/ci/workflows/docker.yml index 40f0fe290d921..dce0b68f50850 100644 --- a/ci/workflows/docker.yml +++ b/ci/workflows/docker.yml @@ -47,6 +47,7 @@ steps: retry: *auto-retry - label: "pre build binary: amd64" + if: build.env("SKIP_TARGET_AMD64") != "true" command: "ci/scripts/release.sh" plugins: - seek-oss/aws-sm#v2.3.1: @@ -63,6 +64,7 @@ steps: retry: *auto-retry - label: "pre build binary: aarch64 " + if: build.env("SKIP_TARGET_AARCH64") != "true" command: "ci/scripts/release.sh" plugins: - seek-oss/aws-sm#v2.3.1: