From e751b5db98b4273c22f53227b1b4d9f6602f5035 Mon Sep 17 00:00:00 2001 From: Brad Reed Date: Mon, 21 Oct 2024 09:31:39 +0100 Subject: [PATCH] auth --- .github/workflows/deploy.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ddf6df8..d1635d3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,12 +16,14 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v1 - - name: Login to Amazon ECR - id: login-ecr - uses: aws-actions/amazon-ecr-login@v2 + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: arn:aws:iam::290051822633:role/ci/hasura-metric-adapter/github_hasura_metric_adapter aws-region: eu-west-2 + - name: Login to Amazon ECR + id: login-ecr + uses: aws-actions/amazon-ecr-login@v2 - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx