From 3ffb0ba60fcdc0a6c2d29911d782d76d536fc797 Mon Sep 17 00:00:00 2001 From: Christopher Hubing Date: Mon, 13 Mar 2023 13:51:29 -0400 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ab8bdc7..db3ab90 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -58,8 +58,8 @@ pipeline { // sh 'docker buildx create --use --name multiarch --append' sh 'docker buildx inspect --bootstrap' sh 'docker buildx ls' - sh "docker buildx build --platform linux/amd64 -t ${imagename} --load ." - sh "docker buildx build --platform linux/arm64 -t ${imagename}:arm64 --load ." + sh "docker buildx build --platform linux/amd64 -t ${imagename} --build-arg GROUPER_CONTAINER_VERSION=$tag --load ." + sh "docker buildx build --platform linux/arm64 -t ${imagename}:arm64 --build-arg GROUPER_CONTAINER_VERSION=$tag --load ." } catch(error) { def error_details = readFile('./debug'); def message = "BUILD ERROR: There was a problem building ${maintainer}/${imagename}:${tag}. \n\n ${error_details}"