Skip to content

Commit fa3c01c

Browse files
Bot Updating Templated Files
1 parent 999e5f4 commit fa3c01c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ pipeline {
514514
sh '''#! /bin/bash
515515
set -e
516516
TEMPDIR=$(mktemp -d)
517-
if [ "${MULTIARCH}" == "true" ]; then
517+
if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ]; then
518518
LOCAL_CONTAINER=${IMAGE}:amd64-${META_TAG}
519519
else
520520
LOCAL_CONTAINER=${IMAGE}:${META_TAG}
@@ -575,7 +575,7 @@ pipeline {
575575
steps {
576576
sh '''#! /bin/bash
577577
echo "Packages were updated. Cleaning up the image and exiting."
578-
if [ "${MULTIARCH}" == "true" ]; then
578+
if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ]; then
579579
docker rmi ${IMAGE}:amd64-${META_TAG}
580580
else
581581
docker rmi ${IMAGE}:${META_TAG}
@@ -599,7 +599,7 @@ pipeline {
599599
steps {
600600
sh '''#! /bin/bash
601601
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
603603
docker rmi ${IMAGE}:amd64-${META_TAG}
604604
else
605605
docker rmi ${IMAGE}:${META_TAG}

0 commit comments

Comments
 (0)