Skip to content

Commit 6e0419e

Browse files
Update build.yml new env
1 parent 5d71ef1 commit 6e0419e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
with:
1515
aws-access-key-id: ${{ secrets.ACCESS_KEY }}
1616
aws-secret-access-key: ${{ secrets.SECRET_ACCESS_KEY }}
17-
aws-region: ${{ secrets.REGION }}
17+
aws-region: ${{ secrets.PUBLIC_REGION }}
1818

1919
build-and-push-pub-ecr:
2020
runs-on: ubuntu-latest
@@ -30,6 +30,8 @@ jobs:
3030
registry: public.ecr.aws
3131
username: ${{ secrets.ACCESS_KEY }}
3232
password: ${{ secrets.SECRET_ACCESS_KEY }}
33+
env:
34+
aws-region: ${{ secrets.PUBLIC_REGION }}
3335

3436
- name: Build and Push Image
3537
run: |

0 commit comments

Comments
 (0)