Skip to content

Commit

Permalink
chore(Jenkins) build Docker image weekly
Browse files Browse the repository at this point in the history
Signed-off-by: Damien Duportal <[email protected]>
  • Loading branch information
dduportal committed Nov 15, 2021
1 parent 23bba57 commit d88ff1a
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions Jenkinsfile_k8s
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,11 @@ parallel(
}
},
'docker-image': {
// Do not rebuild the image when triggered by a periodic job
if (!currentBuild.getBuildCauses().contains("hudson.triggers.TimerTrigger")){
buildDockerAndPublishImage('openvpn', [
mainBranch: 'main',
automaticSemanticVersioning: true,
gitCredentials: 'github-app-infra'
])
}
buildDockerAndPublishImage('openvpn', [
mainBranch: 'main',
automaticSemanticVersioning: true,
gitCredentials: 'github-app-infra'
])
},
'updatecli': {
withCredentials([string(credentialsId: 'updatecli-github-token', variable: 'UPDATECLI_GITHUB_TOKEN')]) {
Expand Down

0 comments on commit d88ff1a

Please sign in to comment.