Skip to content

Commit eecc42a

Browse files
Bot Updating Templated Files
1 parent 8b3f784 commit eecc42a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Jenkinsfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ pipeline {
508508
sh '''#! /bin/bash
509509
set -e
510510
TEMPDIR=$(mktemp -d)
511-
if [ "${MULTIARCH}" == "true" ]; then
511+
if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ]; then
512512
LOCAL_CONTAINER=${IMAGE}:amd64-${META_TAG}
513513
else
514514
LOCAL_CONTAINER=${IMAGE}:${META_TAG}
@@ -569,7 +569,7 @@ pipeline {
569569
steps {
570570
sh '''#! /bin/bash
571571
echo "Packages were updated. Cleaning up the image and exiting."
572-
if [ "${MULTIARCH}" == "true" ]; then
572+
if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ]; then
573573
docker rmi ${IMAGE}:amd64-${META_TAG}
574574
else
575575
docker rmi ${IMAGE}:${META_TAG}
@@ -593,7 +593,7 @@ pipeline {
593593
steps {
594594
sh '''#! /bin/bash
595595
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
597597
docker rmi ${IMAGE}:amd64-${META_TAG}
598598
else
599599
docker rmi ${IMAGE}:${META_TAG}

0 commit comments

Comments
 (0)