This repository was archived by the owner on Oct 10, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -354,7 +354,9 @@ pipeline {
354354 // Build Docker container for push to LS Repo
355355 stage(' Build-Single' ) {
356356 when {
357- environment name : ' MULTIARCH' , value : ' false'
357+ expression {
358+ env. MULTIARCH == ' false' || params. PACKAGE_CHECK == ' true'
359+ }
358360 environment name : ' EXIT_STATUS' , value : ' '
359361 }
360362 steps {
@@ -379,7 +381,10 @@ pipeline {
379381 // Build MultiArch Docker containers for push to LS Repo
380382 stage(' Build-Multi' ) {
381383 when {
382- environment name : ' MULTIARCH' , value : ' true'
384+ allOf {
385+ environment name : ' MULTIARCH' , value : ' true'
386+ expression { params. PACKAGE_CHECK == ' false' }
387+ }
383388 environment name : ' EXIT_STATUS' , value : ' '
384389 }
385390 parallel {
@@ -484,7 +489,7 @@ pipeline {
484489 sh ''' #! /bin/bash
485490 set -e
486491 TEMPDIR=$(mktemp -d)
487- if [ "${MULTIARCH}" == "true" ]; then
492+ if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ] ; then
488493 LOCAL_CONTAINER=${IMAGE}:amd64-${META_TAG}
489494 else
490495 LOCAL_CONTAINER=${IMAGE}:${META_TAG}
You can’t perform that action at this time.
0 commit comments