Skip to content

Commit

Permalink
chore(gh-action): parameterized repo name (#2035)
Browse files Browse the repository at this point in the history
* chore: repo name update

* chore: repo name update

* chore: repo name update

* chore: parameterized repo name

* chore: parameterized repo name
  • Loading branch information
RiceAndMeet authored Nov 22, 2023
1 parent 4b76927 commit a1c8d5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docker-image-and-binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: us-east-2
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/ghwf-axelar-core
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/ghwf-${{ github.event.repository.name }}

- name: Validate tag
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-latest-docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: us-east-2
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/ghwf-axelar-core
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/ghwf-${{ github.event.repository.name }}

- name: Login to Amazon ECR
id: login-ecr
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/take-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest

permissions:
id-token: write
contents: read
steps:

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/ghwf-${{ github.event.repository.name }}

- name: Validate tag
env:
Expand Down

0 comments on commit a1c8d5a

Please sign in to comment.