Skip to content

Commit

Permalink
Fix promote-images-prod after splitting it out (#10292)
Browse files Browse the repository at this point in the history
## Problem
`promote-images` was split into `promote-images-dev` and
`promote-images-prod` in
#10267.

`dev` credentials were loaded in `promote-images-dev` and `prod`
credentials were loaded in `promote-images-prod`, but
`promote-images-prod` needs `dev` credentials as well to access the
`dev` images to replicate them from `dev` to `prod`.

## Summary of changes
Load `dev` credentials in `promote-images-prod` as well.
  • Loading branch information
jcgruenhage authored and bayandin committed Jan 7, 2025
1 parent 6292d93 commit 31bd2dc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,16 @@ jobs:
VERSIONS: v14 v15 v16 v17

steps:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: eu-central-1
role-to-assume: ${{ vars.DEV_AWS_OIDC_ROLE_ARN }}
role-duration-seconds: 3600

- name: Login to Amazon Dev ECR
uses: aws-actions/amazon-ecr-login@v2

- uses: docker/login-action@v3
with:
username: ${{ secrets.NEON_DOCKERHUB_USERNAME }}
Expand Down

0 comments on commit 31bd2dc

Please sign in to comment.