chore: fix readme typo
This commit is contained in:
30
README.md
30
README.md
@@ -50,18 +50,18 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
uses: aws-actions/configure-aws-credentials@v4
|
uses: aws-actions/configure-aws-credentials@v4
|
||||||
with:
|
with:
|
||||||
role-to-assume: arn:aws:iam::123456789100:role/my-github-actions-role
|
role-to-assume: arn:aws:iam::123456789100:role/my-github-actions-role
|
||||||
aws-region: us-east-2
|
aws-region: us-east-2
|
||||||
- name: Generate kubeconfig
|
- name: Generate kubeconfig
|
||||||
run: echo "EKS_CREDS=$(aws eks update-kubeconfig --region us-east-2 --name my-cluster --dry-run | base64) >> $GITHUB_ENV
|
run: echo "EKS_CREDS=$(aws eks update-kubeconfig --region us-east-2 --name my-cluster --dry-run | base64) >> $GITHUB_ENV
|
||||||
- uses: tale/kubectl-action@v1
|
- uses: tale/kubectl-action@v1
|
||||||
with:
|
with:
|
||||||
base64-kube-config: ${{ env.EKS_CREDS }}
|
base64-kube-config: ${{ env.EKS_CREDS }}
|
||||||
- run: kubectl get pods
|
- run: kubectl get pods
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user