feat: add docker build support
Some checks reported errors
gitea-sync/antos/pipeline/head This commit looks good
gitea-sync/antos/pipeline/tag Something is wrong with the build of this commit

This commit is contained in:
DanyLE
2024-03-10 23:10:05 +01:00
parent 8ef0a5b7db
commit 43347010a8
7 changed files with 112 additions and 38 deletions

16
Jenkinsfile vendored
View File

@ -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 {