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