Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nikasakandelidze committed Sep 26, 2023
1 parent e4ab99d commit b09a605
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ jobs:
aws-region: us-east-1 # Change this to your desired AWS region

- name: Login to Amazon ECR
run: $(aws ecr get-login --no-include-email --region us-east-1)
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1

- name: Build Docker image
run: docker build -t roles-ai-api .
run: cd role-ai-api && docker build -t roles-ai-api .

- name: Tag Docker image
run: docker tag roles-ai-api:latest ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-east-1.amazonaws.com/roles-ai-reg-priv1:latest
Expand Down

0 comments on commit b09a605

Please sign in to comment.