File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -508,7 +508,7 @@ pipeline {
508
508
sh ''' #! /bin/bash
509
509
set -e
510
510
TEMPDIR=$(mktemp -d)
511
- if [ "${MULTIARCH}" == "true" ]; then
511
+ if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ] ; then
512
512
LOCAL_CONTAINER=${IMAGE}:amd64-${META_TAG}
513
513
else
514
514
LOCAL_CONTAINER=${IMAGE}:${META_TAG}
@@ -569,7 +569,7 @@ pipeline {
569
569
steps {
570
570
sh ''' #! /bin/bash
571
571
echo "Packages were updated. Cleaning up the image and exiting."
572
- if [ "${MULTIARCH}" == "true" ]; then
572
+ if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ] ; then
573
573
docker rmi ${IMAGE}:amd64-${META_TAG}
574
574
else
575
575
docker rmi ${IMAGE}:${META_TAG}
@@ -593,7 +593,7 @@ pipeline {
593
593
steps {
594
594
sh ''' #! /bin/bash
595
595
echo "There are no package updates. Cleaning up the image and exiting."
596
- if [ "${MULTIARCH}" == "true" ]; then
596
+ if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ] ; then
597
597
docker rmi ${IMAGE}:amd64-${META_TAG}
598
598
else
599
599
docker rmi ${IMAGE}:${META_TAG}
You can’t perform that action at this time.
0 commit comments