From 7d4f776fdd1857cc1ba96cdb15adccb7829453b3 Mon Sep 17 00:00:00 2001 From: devout-coder Date: Sat, 7 Sep 2024 17:53:03 +0530 Subject: [PATCH] change name --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7870aee..6627863 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,13 +31,13 @@ jobs: # Build the Docker image - name: Build Docker image run: | - docker build -t doneify . - docker tag doneify:latest ${{ secrets.ECR_REPOSITORY }}:latest + docker build -t my_repo . + docker tag my_repo:latest ${{ secrets.ECR_REPOSITORY }}/my_repo:latest # Push the Docker image to Amazon ECR - name: Push Docker image to ECR run: | - docker push ${{ secrets.ECR_REPOSITORY }}:latest + docker push ${{ secrets.ECR_REPOSITORY }}/my_repo:latest deploy: runs-on: ubuntu-latest