diff --git a/.github/workflows/release-web.yml b/.github/workflows/release-web.yml index fc8317a4..68989727 100644 --- a/.github/workflows/release-web.yml +++ b/.github/workflows/release-web.yml @@ -32,7 +32,7 @@ jobs: run: | # Build a docker container and push it to ECR aws ecr get-login-password --region ap-south-1 | docker login --username AWS --password-stdin $ECR_REGISTRY - docker build -t keyshade/keyshade-web:alpha-${GITHUB_SHA::6} $ECR_REGISTRY/$ECR_REPOSITORY:latest -f ./apps/web/Dockerfile . + docker build -t keyshade/keyshade-web:alpha-${GITHUB_SHA::6} -t $ECR_REGISTRY/$ECR_REPOSITORY:latest -f ./apps/web/Dockerfile . echo "Pushing image to ECR..." docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest echo "name=image::$ECR_REGISTRY/$ECR_REPOSITORY:latest" >> $GITHUB_OUTPUT