diff --git a/Jenkinsfile b/Jenkinsfile index 69b94aa..38873ab 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,6 +24,13 @@ node { } } + stage('Push image') { + docker.withRegistry('https://hub.thisfro.ch', 'git') { + app.push("${env.BUILD_NUMBER}") + app.push("latest") + } + } + stage('Deploy staging') { sh 'docker-compose --project-directory /opt/containers/pflaenz.li --file /opt/containers/pflaenz.li/docker-compose.yml up -d' }