INFRA-1009 Update Docker publication tasks (#6818)

This commit is contained in:
Ross Nicoll 2020-11-24 17:36:53 +00:00 committed by GitHub
parent 734d35b719
commit a8ae7fdd6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -119,7 +119,13 @@ pipeline {
usernamePassword(credentialsId: 'corda-publisher-docker-hub-credentials',
usernameVariable: 'DOCKER_USERNAME',
passwordVariable: 'DOCKER_PASSWORD')]) {
sh "./gradlew pushOfficialImages"
sh script: [
'./gradlew',
COMMON_GRADLE_PARAMS,
'docker:pushDockerImage',
'-Pdocker.image.repository=corda/corda',
'--image ALPINE_ZULU'
].join(' ')
}
}
}

View File

@ -286,7 +286,9 @@ pipeline {
sh script: [
'./gradlew',
COMMON_GRADLE_PARAMS,
'pushOfficialImages'
'docker:pushDockerImage',
'-Pdocker.image.repository=corda/corda',
'--image ALPINE_ZULU'
].join(' ')
}
}