Skip to content
Snippets Groups Projects
Commit 106aeae3 authored by Bogdan Cochior's avatar Bogdan Cochior
Browse files

ci(aws): add login

parent 2ea37d99
No related branches found
No related tags found
1 merge request!10Sprint #12
...@@ -96,6 +96,7 @@ demo:aws-qa: ...@@ -96,6 +96,7 @@ demo:aws-qa:
script: script:
- apk --no-cache add --update python python-dev py-pip - apk --no-cache add --update python python-dev py-pip
- pip install ecs-deploy - pip install ecs-deploy
- eval $(aws ecr get-login --no-include-email --region eu-west-1 | sed 's|https://||')
- ecs deploy --region eu-west-1 ${CLUSTER_NAME} ${IMAGE_REPO}:${CI_COMMIT_SHA} --tag ${CI_COMMIT_SHA} - ecs deploy --region eu-west-1 ${CLUSTER_NAME} ${IMAGE_REPO}:${CI_COMMIT_SHA} --tag ${CI_COMMIT_SHA}
demo:staging: demo:staging:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment