diff --git a/Jenkinsfile b/Jenkinsfile index 48f97b0..89bc47b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,8 +3,8 @@ pipeline { options { skipDefaultCheckout(true) } environment { - IMAGE_NAME = 'testing-python-app' - IMAGE_TAG = 'latest' + IMAGE_NAME = 'rd.jenkins' + IMAGE_TAG = 'test' CONTAINER_NAME = "${IMAGE_NAME}-container" AWS_URL = '231670719202.dkr.ecr.sa-east-1.amazonaws.com' @@ -41,10 +41,6 @@ pipeline { aws ecr get-login-password --region "$AWS_REGION" \ | docker login --username AWS --password-stdin "$ECR_REGISTRY" ''' - sh ''' - aws ecr describe-repositories --repository-names "liesa/testing-python-app" || \ - aws ecr create-repository --repository-name "liesa/testing-python-app" - ''' } } }