From 320ee1051c1efee78a07accba651b88f7ba2bced Mon Sep 17 00:00:00 2001 From: Manoj Bhagwat <107256725+manojheyjobs@users.noreply.github.com> Date: Tue, 7 May 2024 18:16:56 +0530 Subject: [PATCH] updated ecr ulr in script --- training_pipeline/images/lambda/build_and_push.sh | 4 ++-- training_pipeline/images/train/build_and_push.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/training_pipeline/images/lambda/build_and_push.sh b/training_pipeline/images/lambda/build_and_push.sh index 94f183a..3e4e5c0 100755 --- a/training_pipeline/images/lambda/build_and_push.sh +++ b/training_pipeline/images/lambda/build_and_push.sh @@ -12,5 +12,5 @@ docker build -t lambda-image -f images/lambda/Dockerfile . aws ecr get-login-password --region eu-west-3 | docker login --username AWS --password-stdin $operations.dkr.ecr.eu-central-1.amazonaws.com # Tag and Push Docker Image to Container Registry -docker tag lambda-image:latest $operations.dkr.ecr.eu-central-1.amazonaws.com/lambda-image:latest -docker push $operations.dkr.ecr.eu-central-1.amazonaws.com/lambda-image:latest \ No newline at end of file +docker tag lambda-image:latest $operations.dkr.ecr.eu-central-1.amazonaws.com/sagemaker-mlops-lambda-image:latest +docker push $operations.dkr.ecr.eu-central-1.amazonaws.com/sagemaker-mlops-lambda-image:latest \ No newline at end of file diff --git a/training_pipeline/images/train/build_and_push.sh b/training_pipeline/images/train/build_and_push.sh index 435e5df..d63c22b 100755 --- a/training_pipeline/images/train/build_and_push.sh +++ b/training_pipeline/images/train/build_and_push.sh @@ -15,5 +15,5 @@ docker build -t training-image -f images/train/Dockerfile . aws ecr get-login-password --region eu-central-1 | docker login --username AWS --password-stdin $operations.dkr.ecr.eu-central-1.amazonaws.com # Tag and Push Docker Image to Container Registry -docker tag training-image $operations.dkr.ecr.eu-central-1.amazonaws.com/training-image:latest -docker push $operations.dkr.ecr.eu-central-1.amazonaws.com/training-image:latest \ No newline at end of file +docker tag training-image $operations.dkr.ecr.eu-central-1.amazonaws.com/sagemaker-mlops-lambda-image:latest +docker push $operations.dkr.ecr.eu-central-1.amazonaws.com/sagemaker-mlops-lambda-image:latest \ No newline at end of file