업데이트 'Jenkinsfile'

This commit is contained in:
2023-03-23 15:29:29 +09:00
parent 5400d814f0
commit e315bf11ac

2
Jenkinsfile vendored
View File

@@ -45,7 +45,7 @@ podTemplate(
stage("Dockerize and Push") {
container("docker") {
docker.withRegistry("http://mindol.synology.me:60000/v2/_catalog/", '') {
docker.withRegistry("10.43.250.34:5000/v2/", 'REGISTRY_CREDENTIALS') {
sh "docker build -t ${image}:${tag} ."
sh "docker push ${image}:${tag}"
sh "docker tag ${image}:${tag} ${image}:latest"