From 4b769274ed5b3fc1ee4b4652fe9686b05fabe8ae Mon Sep 17 00:00:00 2001 From: Jun Yan Date: Fri, 17 Nov 2023 14:05:26 -0500 Subject: [PATCH] fix(gh-action): swap out aws auth credential (#2030) --- .github/workflows/build-docker-image-and-binaries.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-docker-image-and-binaries.yaml b/.github/workflows/build-docker-image-and-binaries.yaml index 98523e3ab..f80e0745c 100644 --- a/.github/workflows/build-docker-image-and-binaries.yaml +++ b/.github/workflows/build-docker-image-and-binaries.yaml @@ -30,9 +30,8 @@ jobs: - 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-2 + role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/ghwf-axelar-core - name: Validate tag env: