Update Jenkinsfile

This commit is contained in:
s4616 2023-07-10 19:14:38 +09:00 committed by GitHub
parent 2c5da72b8d
commit b041f265c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
Jenkinsfile vendored
View file

@ -42,7 +42,7 @@ pipeline {
// cleanup current user docker credentials
sh 'rm -f ~/.dockercfg ~/.docker/config.json || true'
docker.withRegistry("https://257307634175.dkr.ecr.ap-northeast-2.amazonaws.com", "ecr:ap-northeast-2:AWSCredentials") {
docker.image("spring-petclonic:1.0").push()
docker.image("spring-petclinic:1.0").push()
}
}
}