Skip to content

Commit 2257305

Browse files
committed
update region for docker aws
1 parent 9896675 commit 2257305

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/deploy-to-eks.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ on:
55
secrets:
66
GH_ACTIONS_ROLE:
77
required: true
8-
AWS_REGION:
9-
required: true
108
inputs:
119
IMAGE_TAG:
1210
required: true
@@ -17,6 +15,7 @@ env:
1715
IMAGE_NAME: catbot
1816
EKS_CLUSTER_NAME: catbot-cluster
1917
NAMESPACE: cat-chatbot
18+
AWS_REGION: us-east-1
2019

2120
permissions:
2221
id-token: write
@@ -34,7 +33,7 @@ jobs:
3433
aws-region: ${{ secrets.AWS_REGION }}
3534

3635
- name: Update kube config
37-
run: aws eks update-kubeconfig --name ${{ env.EKS_CLUSTER_NAME }} --region ${{ secrets.AWS_REGION }}
36+
run: aws eks update-kubeconfig --name ${{ env.EKS_CLUSTER_NAME }} --region ${{ env.AWS_REGION }}
3837

3938
- name: Deploy to EKS
4039
run: |

.github/workflows/main-branch.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ jobs:
2222
IMAGE_TAG: ${{ github.sha }}
2323
secrets:
2424
GH_ACTIONS_ROLE: ${{ secrets.GH_ACTIONS_ROLE }}
25-
AWS_REGION: ${{ secrets.AWS_REGION }}
2625

0 commit comments

Comments
 (0)