Skip to content

Commit

Permalink
Update command build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
imrkgofficial authored Nov 27, 2024
1 parent 044d205 commit 9e21007
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:
steps:
- name: Code Checkout
uses: actions/checkout@v4

- name: Login to AWS ECR
run: |
echo ${{ secrets.PVT_ECR_PASSWORD }} | docker login --username AWS --password-stdin 637423205071.dkr.ecr.ap-south-1.amazonaws.com
aws ecr get-login-password --region ap-south-1 | docker login --username AWS --password-stdin 637423205071.dkr.ecr.ap-south-1.amazonaws.com
env:
AWS_ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS_KEY }}
Expand Down

0 comments on commit 9e21007

Please sign in to comment.