[24.06.20] Test with docker repo DO
This commit is contained in:
parent
007c283d14
commit
04ee311003
@ -73,14 +73,14 @@ try {
|
|||||||
|
|
||||||
stage('Tag Repository') {
|
stage('Tag Repository') {
|
||||||
|
|
||||||
withDockerServer([uri: "${env.DOCKER_REPOSITORY_TCP}"]) {
|
// withDockerServer([uri: "${env.DOCKER_REPOSITORY_TCP}"]) {
|
||||||
withDockerRegistry([credentialsId: 'DORegistry', url: "${env.DOCKER_REPOSITORY_URL}"]) {
|
withDockerRegistry([credentialsId: 'DORegistry', url: "${env.DOCKER_REPOSITORY_URL}"]) {
|
||||||
def image = docker.build("db-gateway:${env.APPLICATION_VERSION}")
|
def image = docker.build("db-gateway:${env.APPLICATION_VERSION}")
|
||||||
image.push()
|
image.push()
|
||||||
def latest = docker.build("db-gateway:latest")
|
def latest = docker.build("db-gateway:latest")
|
||||||
latest.push()
|
latest.push()
|
||||||
}
|
}
|
||||||
}
|
// }
|
||||||
withCredentials(
|
withCredentials(
|
||||||
[usernamePassword(
|
[usernamePassword(
|
||||||
credentialsId: env.GITHUB_CREDENTIALS_ID,
|
credentialsId: env.GITHUB_CREDENTIALS_ID,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user