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