Pull image from ECR

This commit is contained in:
Layla 2019-04-11 14:36:57 -04:00
parent b740ed8e40
commit a215e1364c

9
Jenkinsfile vendored
View File

@ -10,10 +10,17 @@ pipeline {
DOCKER_REGISTRY = '356438515751.dkr.ecr.us-east-1.amazonaws.com'
}
stages {
stage("Docker ECR")
{
steps
{
sh "docker pull 356438515751.dkr.ecr.us-east-1.amazonaws.com/auto-semver"
}
}
stage('Version') {
agent {
docker {
image '356438515751.dkr.ecr.us-east-1.amazonaws.com:auto-semver'
image 'auto-semver'
}
}
steps {