From ebd3c1f555edd694659edea6a4ccfb1c5b8f7f6e Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 4 Jun 2025 11:09:25 +0200 Subject: [PATCH] try git ref --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index dd561a5..ea40e7c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,7 +22,7 @@ pipeline { sh "podman build -t ${CONTAINER_REGISTRY}/${REGISTRY_NAMESPACE}/${REPO_NAME}:${env.BRANCH_NAME}-${nodeLabel}-${env.BUILD_NUMBER} ." sh "podman save -o ${nodeLabel}.tar ${CONTAINER_REGISTRY}/${REGISTRY_NAMESPACE}/${REPO_NAME}:${env.BRANCH_NAME}-${nodeLabel}-${env.BUILD_NUMBER}" - stash includes: "${nodeLabel}.tar", name: "${nodeLabel}-image" + stash includes: "${nodeLabel}-${env.BUILD_NUMBER}.tar", name: "${nodeLabel}-image" } } } @@ -38,8 +38,8 @@ pipeline { unstash "aarch64-image" unstash "x86_64-image" - sh "podman load -i aarch64.tar" - sh "podman load -i x86_64.tar" + sh "podman load -i aarch64-${env.BUILD_NUMBER}.tar" + sh "podman load -i x86_64-${env.BUILD_NUMBER}.tar" sh ''' podman manifest rm ${CONTAINER_REGISTRY}/${REGISTRY_NAMESPACE}/${REPO_NAME}:${BRANCH_NAME} || true