Skip to content

Commit

Permalink
Update deploy.yml to use IAM Role
Browse files Browse the repository at this point in the history
  • Loading branch information
tarikdem authored Nov 6, 2023
1 parent 11951c3 commit ce4eb47
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ jobs:
push:
name: Invoke General Docker Build Pipeline
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1
with:
aws-access-key-id: ${{ secrets.GDBP_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.GDBP_AWS_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.GDBP_AWS_IAM_ROLE_ARN }}
aws-region: us-west-2
- name: Generalized Deployments
uses: brave-intl/general-docker-build-pipeline-action@a5abec689bc65b6a985ed8527d741a130c1483af # v1.0.11

0 comments on commit ce4eb47

Please sign in to comment.