cd: add aws credentials

This commit is contained in:
Jeremy Denquin 2022-03-23 14:29:42 +01:00
parent e0006d1124
commit 0beeb69bb9
No known key found for this signature in database
GPG Key ID: 9E2B6D4E714D5CE0

View File

@ -13,6 +13,15 @@ jobs:
container:
image: getlago/deploy-staging
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
- name: Configure kubectl
run: echo "${{ secrets.KUBE_STAGING_CONFIG }}" | base64 -d > kubeconfig.yaml
- name: Get Helm deployment