fup-try-013
This commit is contained in:
parent
15be1b9f7d
commit
117c8b6550
|
@ -9,24 +9,18 @@ symfonyAppPipeline('ubuntu:22.04', [
|
|||
// Run docker image build, verification and publication stages
|
||||
'postSymfonyAppPipeline': {
|
||||
stage('Build and publish docker images') {
|
||||
steps {
|
||||
make
|
||||
make release
|
||||
}
|
||||
}
|
||||
stage('Build and publish hydra-dispatcher image') {
|
||||
// Retrieve current tag
|
||||
String currentTag = sh(script: 'git tag --points-at HEAD | head -n 1', returnStdout: true).trim()
|
||||
// Retrieve default tag
|
||||
String defaultTag = sh(returnStdout: true, script: 'git describe --always').trim()
|
||||
container.buildAndPublishImage([
|
||||
kubecontainer.buildAndPublishImage([
|
||||
'imageName': 'reg.cadoles.com/pcaseiro/myapplication-standalone',
|
||||
// Use current tag or default tag if not defined
|
||||
'imageTag': defaultTag,
|
||||
'dockerfile': './misc/images/myapplication-standalone/Dockerfile',
|
||||
'dryRun': false
|
||||
])
|
||||
container.buildAndPublishImage([
|
||||
kubecontainer.buildAndPublishImage([
|
||||
'imageName': 'reg.cadoles.com/pcaseiro/myapplication-kube',
|
||||
// Use current tag or default tag if not defined
|
||||
'imageTag': defaultTag,
|
||||
|
|
Loading…
Reference in New Issue