From c627a6df82edd0bbaaf17d0fe080ef540c59134c Mon Sep 17 00:00:00 2001 From: Venkataraman Date: Tue, 16 May 2023 18:09:20 -0400 Subject: [PATCH] adding github IAM role --- .github/workflows/docker-image.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yaml b/.github/workflows/docker-image.yaml index cc022d9..e170d44 100644 --- a/.github/workflows/docker-image.yaml +++ b/.github/workflows/docker-image.yaml @@ -35,8 +35,8 @@ jobs: - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v2 with: - aws-access-key-id: ${{ secrets.ACCESS_KEY }} - aws-secret-access-key: ${{ secrets.SECRET_KEY }} + role-to-assume: arn:aws:iam::209466391465:role/github-ecr + role-session-name: samplerolesession aws-region: us-east-1 - name: Login to Amazon ECR