foundation/Jenkinsfile

28 lines
1.1 KiB
Plaintext
Raw Normal View History

pipeline {
agent any
stages {
stage('Build and Tag LOCAL Foundation CICD container image') {
steps {
script{
//including withRegistry block for now... currently not authenticating or pushing to git.vdb.to
docker.withRegistry('https://git.vdb.to'){
echo 'Building foundation image...'
def foundation_image = docker.build("cerc-io/foundation:jenkinscicd")
echo 'built foundation image'
}
}
script{
//including withRegistry block for now... currently not authenticating or pushing to git.vdb.to
docker.withRegistry('https://git.vdb.to'){
echo 'Building foundation image...'
def foundation_image = docker.build("cerc-io/foundation_alpine:jenkinscicd", "alpine/")
echo 'built foundation image'
}
}
}
}
}
}