Skip to content

Commit

Permalink
ci(fix): Updated ecr release to configure credential
Browse files Browse the repository at this point in the history
chriswk committed Apr 20, 2023

Verified

This commit was signed with the committer’s verified signature.
narbs91 Narb
1 parent 22cd0db commit edaf940
Showing 2 changed files with 6 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/assume-aws-role.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .github/workflows/push-ecr-releases.yml
Original file line number Diff line number Diff line change
@@ -5,6 +5,10 @@ on:
tags:
- 'v*'

permissions:
id-token: write
contents: read

jobs:
docker:
runs-on: ubuntu-latest
@@ -15,7 +19,9 @@ jobs:
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: arn:aws:iam::726824350591:role/oidc-github-actions
role-session-name: actions-push-to-ecr-public
aws-region: us-east-1

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

0 comments on commit edaf940

Please sign in to comment.