diff options
-rw-r--r-- | gitlab-ci-template-multiarch.yml | 30 |
1 files changed, 3 insertions, 27 deletions
diff --git a/gitlab-ci-template-multiarch.yml b/gitlab-ci-template-multiarch.yml index b6d877e..1d082af 100644 --- a/gitlab-ci-template-multiarch.yml +++ b/gitlab-ci-template-multiarch.yml @@ -47,46 +47,22 @@ stages: . - podman push $CI_REGISTRY_IMAGE:${TAGNAME}-${ARCH} -build-default-x86_64: +build-x86_64: stage: build variables: ARCH: x86_64 - rules: - - if: '$CI_PIPELINE_SOURCE != "schedule"' - script: - - *tag-name - - *build-default - -build-nocache-x86_64: - stage: build - variables: - ARCH: x86_64 - rules: - - if: '$CI_PIPELINE_SOURCE == "schedule"' script: - *tag-name - *build-nocache -build-default-aarch64: - stage: build - tags: - - aarch64 - variables: - ARCH: aarch64 - rules: - - if: '$CI_PIPELINE_SOURCE != "schedule" && $BUILD_AARCH64 == "yes"' - script: - - *tag-name - - *build-default - -build-nocache-aarch64: +build-aarch64: stage: build tags: - aarch64 variables: ARCH: aarch64 rules: - - if: '$CI_PIPELINE_SOURCE == "schedule" && $BUILD_AARCH64 == "yes"' + - if: '$BUILD_AARCH64 == "yes"' script: - *tag-name - *build-nocache |