try git ref
Some checks are pending
Build Multiarch Container Image / call-reusable-workflow (push) Waiting to run
Some checks are pending
Build Multiarch Container Image / call-reusable-workflow (push) Waiting to run
This commit is contained in:
parent
d55402c7fb
commit
ebd3c1f555
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue