Skip to content

Commit

Permalink
move docker deployment to udp
Browse files Browse the repository at this point in the history
Signed-off-by: Guido Grune <g.grune@datainmotion.com>
  • Loading branch information
gg-dim committed Dec 9, 2024
1 parent 527ec61 commit e5b8b35
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,24 +120,19 @@ pipeline {
steps {
echo "I am building and publishing a docker image on branch: ${env.GIT_BRANCH}"

step([$class: 'DockerBuilderPublisher',
dockerFileDirectory: 'docker',
cloud: 'docker',
tagsString: 'registry-git.jena.de/scj/mdo:latest',
pushOnSuccess: true,
pushCredentialsId: 'github-jena'])

step([$class: 'DockerBuilderPublisher',
dockerFileDirectory: 'docker',
cloud: 'docker',
tagsString: "registry-git.jena.de/scj/mdo:0.1.0.${env.BUILD_ID}",
tagsString: """registry-git.jena.de/scj/udp/mdo:latest
registry-git.jena.de/scj/udp/mdo:0.1.0.${env.BUILD_ID}""",
pushOnSuccess: true,
pushCredentialsId: 'github-jena'])

step([$class: 'DockerBuilderPublisher',
dockerFileDirectory: 'docker',
cloud: 'docker',
tagsString: 'devel.data-in-motion.biz:6000/scj/mdo:latest',
tagsString: """devel.data-in-motion.biz:6000/scj/mdo:latest
devel.data-in-motion.biz:6000/scj/mdo:0.1.0.${env.BUILD_ID}""",
pushOnSuccess: true,
pushCredentialsId: 'dim-nexus'])

Expand Down

0 comments on commit e5b8b35

Please sign in to comment.