Skip to content

Commit

Permalink
feat(github): use OIDC to push images (#4077)
Browse files Browse the repository at this point in the history
  • Loading branch information
arein authored Jan 10, 2024
1 parent ae8cd37 commit 01e3cbd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci_sign_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@ env:
jobs:
push:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-central-1
role-to-assume: ${{ secrets.AWS_ROLE_ECR_DEPLOYER }}
aws-region: ${{ vars.AWS_REGION }}

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
with:
mask-password: 'true'

- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 01e3cbd

Please sign in to comment.