Skip to content

Commit

Permalink
Finalized v2 of CI/CD pipeline for the backend, uses GitHub's Open ID…
Browse files Browse the repository at this point in the history
… Connect to authenticate with AWS ECR, which uses JTW tokens specific to each run
  • Loading branch information
informatter committed Mar 15, 2024
1 parent 32e2ea6 commit 91071b5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ jobs:
working-directory: ./backend
steps:
- name: Checkout
uses: actions/checkout@v3
# - name: Print Poetry Version
# run: poetry --version # command will fail because its not currently installed
uses: actions/checkout@v4
- name: Check Directory Contents
run: ls -la
- name: Branch used
Expand All @@ -80,7 +78,6 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
# Change to use GitHub's OIDC provider which uses JWTs instead of IAM credentials see: https://github.com/aws-actions/configure-aws-credentials
with:
#arn:aws:iam::${{secrets.AWS_ACCOUNT_ID}}:user/github-actions-image-push
role-to-assume: arn:aws:iam::${{secrets.AWS_ACCOUNT_ID}}:role/GithHubActionsInformatter
Expand Down

0 comments on commit 91071b5

Please sign in to comment.