mirror of
https://github.com/antos-rde/antos.git
synced 2025-07-16 05:49:57 +02:00
feat: add docker build support
This commit is contained in:
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@ -79,6 +79,22 @@ pipeline {
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage('Build docker') {
|
||||
agent {
|
||||
node { label'workstation' }
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
if (env.TAG_NAME) {
|
||||
sh'''
|
||||
DOCKER_TAG=$TAG_NAME DOCKER_IMAGE=iohubdev/antos make docker
|
||||
'''
|
||||
} else {
|
||||
echo "Regular commit doing nothing"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Archive') {
|
||||
steps {
|
||||
script {
|
||||
|
Reference in New Issue
Block a user