업데이트 'Jenkinsfile'

This commit is contained in:
2023-03-22 18:01:29 +09:00
parent 4ca81bf1f1
commit 5400d814f0

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/", 'REGISTRY_CREDENTIALS') {
docker.withRegistry("http://mindol.synology.me:60000/v2/_catalog/", '') {
sh "docker build -t ${image}:${tag} ."
sh "docker push ${image}:${tag}"
sh "docker tag ${image}:${tag} ${image}:latest"