Skip to content
Snippets Groups Projects

Python Addition

Merged SAM CARPENTER requested to merge SAM.CARPENTER-master-patch-52953 into master
Files
2
+ 4
3
@@ -4,13 +4,14 @@ stages:
variables:
ECR_IMAGE_TAG: "${AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com/enterprise-integrations/iics_secure_agent:${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}"
ECR_LOGIN_REGISTRY: "${AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com"
DOIT_REGISTRY_IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
before_script:
- apk update && apk add groff less && apk add py3-pip
- pip3 install awscli
- $(aws ecr get-login --no-include-email --region us-east-1)
- apk update && apk add groff less
- apk add aws-cli
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin ${ECR_LOGIN_REGISTRY}
after_script:
- docker logout "$AWS_ACCOUNT_ID".dkr.ecr.us-east-1.amazonaws.com
Loading