All checks were successful
gitea-lenape/dashboard-hw/pipeline/head This commit looks good
56 lines
840 B
Groovy
Executable File
56 lines
840 B
Groovy
Executable File
pipeline {
|
|
|
|
agent none
|
|
|
|
options {
|
|
|
|
disableConcurrentBuilds(abortPrevious: true)
|
|
|
|
buildDiscarder(logRotator(numToKeepStr: '1'))
|
|
}
|
|
|
|
stages {
|
|
|
|
|
|
stage('docker compose build') {
|
|
|
|
agent {
|
|
|
|
label "xochi"
|
|
|
|
}
|
|
|
|
steps {
|
|
|
|
dir('.') {
|
|
|
|
sh 'docker compose build'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('docker compose push') {
|
|
|
|
agent {
|
|
|
|
label "xochi"
|
|
|
|
}
|
|
|
|
steps {
|
|
|
|
dir('.') {
|
|
|
|
sh 'docker compose push'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}}
|