[24.06.20] Test with docker repo DO

This commit is contained in:
andyjk15 2020-06-24 14:03:23 +01:00
parent 007c283d14
commit 04ee311003

View File

@ -73,14 +73,14 @@ try {
stage('Tag Repository') {
withDockerServer([uri: "${env.DOCKER_REPOSITORY_TCP}"]) {
// withDockerServer([uri: "${env.DOCKER_REPOSITORY_TCP}"]) {
withDockerRegistry([credentialsId: 'DORegistry', url: "${env.DOCKER_REPOSITORY_URL}"]) {
def image = docker.build("db-gateway:${env.APPLICATION_VERSION}")
image.push()
def latest = docker.build("db-gateway:latest")
latest.push()
}
}
// }
withCredentials(
[usernamePassword(
credentialsId: env.GITHUB_CREDENTIALS_ID,