Some checks failed
gitea-lenape/docker-http-proxy/pipeline/head There was a failure building this commit
56 lines
840 B
Groovy
56 lines
840 B
Groovy
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'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}}
|