From bb32790d3e5a2b9243dfa15377ce1a2ba42a0636 Mon Sep 17 00:00:00 2001 From: Luca Guerra Date: Thu, 4 May 2023 06:17:18 +0000 Subject: [PATCH] fix(ci): configure ECR public region Signed-off-by: Luca Guerra --- .github/workflows/reusable_publish_docker.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/reusable_publish_docker.yaml b/.github/workflows/reusable_publish_docker.yaml index 22d2f2b3db7..2d63b703f01 100644 --- a/.github/workflows/reusable_publish_docker.yaml +++ b/.github/workflows/reusable_publish_docker.yaml @@ -6,9 +6,6 @@ permissions: id-token: write contents: read -env: - AWS_S3_REGION: eu-west-1 - jobs: publish-docker: runs-on: ubuntu-latest @@ -36,7 +33,7 @@ jobs: uses: aws-actions/configure-aws-credentials@v2 with: role-to-assume: "arn:aws:iam::292999226676:role/github_actions-falco-ecr" - aws-region: ${{ env.AWS_S3_REGION }} + aws-region: us-east-1 # The region must be set to us-east-1 in order to access ECR Public. - name: Login to Amazon ECR id: login-ecr-public