Skip to content

Commit

Permalink
Update build.yml new env
Browse files Browse the repository at this point in the history
  • Loading branch information
imrkgofficial authored Nov 27, 2024
1 parent 5d71ef1 commit 6e0419e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
aws-access-key-id: ${{ secrets.ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.REGION }}
aws-region: ${{ secrets.PUBLIC_REGION }}

build-and-push-pub-ecr:
runs-on: ubuntu-latest
Expand All @@ -30,6 +30,8 @@ jobs:
registry: public.ecr.aws
username: ${{ secrets.ACCESS_KEY }}
password: ${{ secrets.SECRET_ACCESS_KEY }}
env:
aws-region: ${{ secrets.PUBLIC_REGION }}

- name: Build and Push Image
run: |
Expand Down

0 comments on commit 6e0419e

Please sign in to comment.