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
818f37c8d8
commit
df538226ce
1 changed files with 2 additions and 1 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -22,9 +22,10 @@ pipeline {
|
|||
checkout scm
|
||||
|
||||
def run_name = "${nodeLabel}-${env.BUILD_NUMBER}"
|
||||
def image_run_name = "${IMAGE_NAME}-${nodeLabel}-${env.BUILD_NUMBER}"
|
||||
|
||||
sh "podman build -t ${image_run_name} ."
|
||||
sh "podman save -o ${run_name}.tar ${IMAGE_NAME}-${nodeLabel}-${env.BUILD_NUMBER}"
|
||||
sh "podman save -o ${run_name}.tar ${image_run_name}"
|
||||
stash includes: "${run_name}.tar", name: "${nodeLabel}-image"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue