From 037a10a91586c7d7e64e1b0cf5c00ee82658ec0f Mon Sep 17 00:00:00 2001 From: Ethan Hesketh Date: Thu, 5 Dec 2024 13:46:02 +0000 Subject: [PATCH] Updating circle ci config to ship images to mgmt account --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d8ff431..eb55413 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: @@ -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: @@ -223,7 +223,7 @@ workflows: - main context: - VPN - - AWS + - AWS_MGMT - deploy: name: deploy-test