Skip to content

Commit

Permalink
Update try.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsdsardar authored Aug 29, 2024
1 parent f6eac41 commit a6c1e60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/try.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
aws ecr describe-repositories --repository-names $EMAIL_REPOSITORY || aws ecr create-repository --repository-name $EMAIL_REPOSITORY
aws ecr describe-repositories --repository-names $API_REPOSITORY || aws ecr create-repository --repository-name $API_REPOSITORY
#aws ecr get-login-password --region $AWS_REGION | docker login --username AWS --password-stdin ${AWS_ACCOUNT_ID}.dkr.ecr.$AWS_REGION.amazonaws.com
docker build -t ${ECR_URL}//$EMAIL_REPOSITORY:latest .
docker build -t ${ECR_URL}//$API_REPOSITORY:latest .
docker push ${ECR_URL}//$EMAIL_REPOSITORY:latest
docker push ${ECR_URL}//$API_REPOSITORY:latest
docker build -t ${ECR_URL}/$EMAIL_REPOSITORY:latest .
docker build -t ${ECR_URL}/$API_REPOSITORY:latest .
docker push ${ECR_URL}/$EMAIL_REPOSITORY:latest
docker push ${ECR_URL}/$API_REPOSITORY:latest

0 comments on commit a6c1e60

Please sign in to comment.