From 66af9c0d4fdae103ad75eb09986c3f56631d0fa7 Mon Sep 17 00:00:00 2001 From: manojheyjobs Date: Tue, 23 Apr 2024 14:32:31 +0200 Subject: [PATCH] Added tag as latest on docker image --- training_pipeline/images/train/build_and_push.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/training_pipeline/images/train/build_and_push.sh b/training_pipeline/images/train/build_and_push.sh index 6ff2e36..7313e8c 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:latest $operations.dkr.ecr.eu-central-1.amazonaws.com/training-image:latest +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