mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-18 12:35:29 +01:00
test
This commit is contained in:
26
Jenkinsfile
vendored
26
Jenkinsfile
vendored
@@ -36,15 +36,27 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Push') {
|
||||
options { timeout(time: 5, unit: 'MINUTES') }
|
||||
steps {
|
||||
script {
|
||||
docker.withRegistry('https://git.sysctl.io/', 'gitea-jenkins-pat') {
|
||||
dockerImage.push("${env.BRANCH_NAME}-${env.BUILD_ID}")
|
||||
stage('Push Testing') {
|
||||
when { branch 'testing'}
|
||||
if (branch == 'testing') {
|
||||
options { timeout(time: 5, unit: 'MINUTES') }
|
||||
steps {
|
||||
script {
|
||||
docker.withRegistry('https://git.sysctl.io/', 'gitea-jenkins-pat') {
|
||||
dockerImage.push("${env.BRANCH_NAME}-${env.BUILD_ID}")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (branch == 'main') {
|
||||
options { timeout(time: 5, unit: 'MINUTES') }
|
||||
steps {
|
||||
script {
|
||||
docker.withRegistry('https://git.sysctl.io/', 'gitea-jenkins-pat') {
|
||||
dockerImage.push("latest")
|
||||
}
|
||||
}
|
||||
}
|
||||
milestone 30
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user