Skip to content

Commit

Permalink
deploy.yaml; dont login to eks twice (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
darpham authored Jul 24, 2023
1 parent 86b0de8 commit c081263
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,12 @@ jobs:
AWS_ECR_REPOSITORY: ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-west-2.amazonaws.com/eimmigrate
steps:
- uses: actions/checkout@v3
- run: echo "AWS_EKS_CLUSTER=shared-cluster-$(echo $DEPLOYMENT | cut -d'-' -f2)" >> $GITHUB_ENV
- uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/github-actions
role-session-name: gha
aws-region: us-west-2
- id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
- run: aws eks --region us-west-2 update-kubeconfig --name ${AWS_EKS_CLUSTER}
- run: make deploy
- run: make deploy-status

0 comments on commit c081263

Please sign in to comment.