Skip to content

Commit

Permalink
Updating circle ci config to ship images to mgmt account
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanh90 committed Dec 5, 2024
1 parent 5054f10 commit 037a10a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ jobs:
name: Publish docker image - worker
command: |
eval $(aws ecr get-login --no-include-email --region eu-west-2)
docker build --build-arg DOCKER_TAG=$DOCKER_TAG -t 523508197323.dkr.ecr.eu-west-2.amazonaws.com/fco/forms-worker:$DOCKER_TAG -f ./worker/Dockerfile .
docker push 523508197323.dkr.ecr.eu-west-2.amazonaws.com/fco/forms-worker:$DOCKER_TAG
docker build --build-arg DOCKER_TAG=$DOCKER_TAG -t 204473099916.dkr.ecr.eu-west-2.amazonaws.com/fco/forms-worker:$DOCKER_TAG -f ./worker/Dockerfile .
docker push 204473099916.dkr.ecr.eu-west-2.amazonaws.com/fco/forms-worker:$DOCKER_TAG
deploy:
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:

- kubernetes/update-container-image:
namespace: << parameters.namespace >>
container-image-updates: forms-worker=523508197323.dkr.ecr.eu-west-2.amazonaws.com/fco/forms-worker:$DOCKER_TAG
container-image-updates: forms-worker=204473099916.dkr.ecr.eu-west-2.amazonaws.com/fco/forms-worker:$DOCKER_TAG
resource-name: deployment/forms-worker

- run:
Expand Down Expand Up @@ -223,7 +223,7 @@ workflows:
- main
context:
- VPN
- AWS
- AWS_MGMT

- deploy:
name: deploy-test
Expand Down

0 comments on commit 037a10a

Please sign in to comment.