generated from gCubeCI/Pipeline-Docker-Template
parent
19316174df
commit
7601e9edc2
|
@ -23,11 +23,13 @@ pipeline {
|
|||
}
|
||||
stage('Building image') {
|
||||
steps{
|
||||
withCredentials([string(credentialsId: 'GITHUB_PAT', variable: 'GITHUB_PAT')]) {
|
||||
script {
|
||||
dockerImage = docker.build imagename
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Deploy Image') {
|
||||
steps{
|
||||
script {
|
||||
|
|
Loading…
Reference in New Issue