This commit is contained in:
Ramón Vásquez 2025-10-29 16:14:36 -03:00
parent 35a1ad455d
commit a42e612897

4
Jenkinsfile vendored
View file

@ -41,6 +41,10 @@ pipeline {
aws ecr get-login-password --region "$AWS_REGION" \ aws ecr get-login-password --region "$AWS_REGION" \
| docker login --username AWS --password-stdin "$ECR_REGISTRY" | 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"
'''
} }
} }
} }