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 @@ -510,7 +510,7 @@ pipeline {
510
510
sh ''' #! /bin/bash
511
511
set -e
512
512
TEMPDIR=$(mktemp -d)
513
- if [ "${MULTIARCH}" == "true" ]; then
513
+ if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ] ; then
514
514
LOCAL_CONTAINER=${IMAGE}:amd64-${META_TAG}
515
515
else
516
516
LOCAL_CONTAINER=${IMAGE}:${META_TAG}
@@ -571,7 +571,7 @@ pipeline {
571
571
steps {
572
572
sh ''' #! /bin/bash
573
573
echo "Packages were updated. Cleaning up the image and exiting."
574
- if [ "${MULTIARCH}" == "true" ]; then
574
+ if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ] ; then
575
575
docker rmi ${IMAGE}:amd64-${META_TAG}
576
576
else
577
577
docker rmi ${IMAGE}:${META_TAG}
@@ -595,7 +595,7 @@ pipeline {
595
595
steps {
596
596
sh ''' #! /bin/bash
597
597
echo "There are no package updates. Cleaning up the image and exiting."
598
- if [ "${MULTIARCH}" == "true" ]; then
598
+ if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ] ; then
599
599
docker rmi ${IMAGE}:amd64-${META_TAG}
600
600
else
601
601
docker rmi ${IMAGE}:${META_TAG}
You can’t perform that action at this time.
0 commit comments