Skip to content

Commit

Permalink
Align Docker image naming with used JDK.
Browse files Browse the repository at this point in the history
See #1529
  • Loading branch information
mp911de committed Nov 14, 2024
1 parent 1ec6230 commit 4fcc710
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@ pipeline {
}
}
}
stage('Publish JDK 21 + Cassandra 3.11') {
stage('Publish JDK.next + Cassandra 3.11') {
when {
anyOf {
changeset "ci/openjdk21-8-cassandra-3.11/**"
changeset "ci/openjdk23-8-cassandra-3.11/**"
changeset "ci/pipeline.properties"
}
}
agent { label 'data' }
options { timeout(time: 30, unit: 'MINUTES') }
steps {
script {
def image = docker.build("springci/spring-data-with-cassandra-3.11:${p['java.next.tag']}", "--build-arg BASE=${p['docker.java.next.image']} --build-arg CASSANDRA=${p['docker.cassandra.3.version']} ci/openjdk21-8-cassandra-3.11/")
def image = docker.build("springci/spring-data-with-cassandra-3.11:${p['java.next.tag']}", "--build-arg BASE=${p['docker.java.next.image']} --build-arg CASSANDRA=${p['docker.cassandra.3.version']} ci/openjdk23-8-cassandra-3.11/")
docker.withRegistry(p['docker.registry'], p['docker.credentials']) {
image.push()
}
Expand Down
File renamed without changes.

0 comments on commit 4fcc710

Please sign in to comment.