Skip to content

Commit

Permalink
Merge pull request #43 from climatepolicyradar/feature/use-eu-west-1
Browse files Browse the repository at this point in the history
Change region to eu-west-1
  • Loading branch information
diversemix authored Jan 5, 2023
2 parents 6e205de + 2f0e843 commit d63f262
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-west-2
aws-region: eu-west-1

- name: Login to Amazon ECR
id: login-ecr
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,16 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Docker login
run: |
aws ecr get-login-password --region eu-west-2 | docker login --username AWS --password-stdin "${DOCKER_REGISTRY}"
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1-node16
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-west-1

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1

- name: Docker pull
run: |
Expand Down

0 comments on commit d63f262

Please # to comment.