try git ref
Some checks are pending
Build Multiarch Container Image / call-reusable-workflow (push) Waiting to run

This commit is contained in:
Sebastian Hugentobler 2025-06-04 11:09:25 +02:00
parent d55402c7fb
commit ebd3c1f555
Signed by: shu
SSH key fingerprint: SHA256:ppcx6MlixdNZd5EUM1nkHOKoyQYoJwzuQKXM6J/t66M

6
Jenkinsfile vendored
View file

@ -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