Skip to content

Commit

Permalink
updated ecr ulr in script
Browse files Browse the repository at this point in the history
  • Loading branch information
manojheyjobs authored May 7, 2024
1 parent 717b5f5 commit 320ee10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions training_pipeline/images/lambda/build_and_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
4 changes: 2 additions & 2 deletions training_pipeline/images/train/build_and_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
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

0 comments on commit 320ee10

Please sign in to comment.