File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 10
10
- ' .github/workflows/build-and-deploy.yml'
11
11
12
12
env :
13
- AWS_REGION : us-east-1
14
- ECR_REPOSITORY : rimworld-hay-calc
15
- # This can be set in repo → Settings → Environments → prod → vars
16
- ECR_REGISTRY : ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ env.AWS_REGION }}.amazonaws.com
13
+ AWS_REGION : ${{ vars.AWS_REGION }}
14
+ ECR_REPOSITORY : ${{ vars.ECR_REPOSITORY }}
15
+ ECR_REGISTRY : ${{ vars.AWS_ACCOUNT_ID }}.dkr.ecr.${{ vars.AWS_REGION }}.amazonaws.com
17
16
18
17
jobs :
19
18
build :
30
29
- name : 🔐 Configure AWS credentials
31
30
uses : aws-actions/configure-aws-credentials@v4
32
31
with :
33
- role-to-assume : arn:aws:iam:: ${{ secrets.AWS_ACCOUNT_ID }}:role/GitHubOIDCDeploy
32
+ role-to-assume : ${{ secrets.OIDC_ROLE_ARN }}
34
33
aws-region : ${{ env.AWS_REGION }}
35
34
36
35
# ---------- ② Log in to ECR ----------
You can’t perform that action at this time.
0 commit comments