From 9d43cec4b4dc7288b2907228553a838fee7e694b Mon Sep 17 00:00:00 2001 From: Dan Diggas <78769670+Dandiggas@users.noreply.github.com> Date: Sun, 29 Oct 2023 20:47:19 +0000 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4f99eac..39140aa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,5 +39,5 @@ jobs: ECR_REPOSITORY: todobackend IMAGE_TAG: latest run: | - docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f ./newdjangotodo/Dockerfile . - docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG + docker build -t $REGISTRY/$REGISTRY_ALIAS/$REPOSITORY:$IMAGE_TAG -f ./newdjangotodo/Dockerfile . + docker push $REGISTRY/$REGISTRY_ALIAS/$REPOSITORY:$IMAGE_TAG