File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ pipeline {
514
514
sh ''' #! /bin/bash
515
515
set -e
516
516
TEMPDIR=$(mktemp -d)
517
- if [ "${MULTIARCH}" == "true" ]; then
517
+ if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ] ; then
518
518
LOCAL_CONTAINER=${IMAGE}:amd64-${META_TAG}
519
519
else
520
520
LOCAL_CONTAINER=${IMAGE}:${META_TAG}
@@ -575,7 +575,7 @@ pipeline {
575
575
steps {
576
576
sh ''' #! /bin/bash
577
577
echo "Packages were updated. Cleaning up the image and exiting."
578
- if [ "${MULTIARCH}" == "true" ]; then
578
+ if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ] ; then
579
579
docker rmi ${IMAGE}:amd64-${META_TAG}
580
580
else
581
581
docker rmi ${IMAGE}:${META_TAG}
@@ -599,7 +599,7 @@ pipeline {
599
599
steps {
600
600
sh ''' #! /bin/bash
601
601
echo "There are no package updates. Cleaning up the image and exiting."
602
- if [ "${MULTIARCH}" == "true" ]; then
602
+ if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ] ; then
603
603
docker rmi ${IMAGE}:amd64-${META_TAG}
604
604
else
605
605
docker rmi ${IMAGE}:${META_TAG}
You can’t perform that action at this time.
0 commit comments