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

ci: change name of the image repository

parent 6f0f23b5
No related branches found
No related tags found
1 merge request!10Sprint #12
......@@ -15,13 +15,15 @@ build-aws:
stage: build
services:
- docker:dind
variables:
IMAGE_REPO: faraday-qa
before_script:
- apk add --no-cache curl jq python py-pip
- pip install awscli
script:
- eval $(aws ecr get-login --no-include-email --region eu-west-1 | sed 's|https://||')
- docker build -t $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA .
- docker tag $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA $REPOSITORY_URL:latest
- docker build -t $IMAGE_REPO:$CI_COMMIT_SHA .
- docker tag $IMAGE_REPO:$CI_COMMIT_SHA $REPOSITORY_URL:latest
- docker push $REPOSITORY_URL:latest
build:
......
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