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