Skip to content

Commit

Permalink
feat: mask aws account id
Browse files Browse the repository at this point in the history
  • Loading branch information
RiceAndMeet committed Oct 17, 2023
1 parent df43ad7 commit 1a229c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-latest-docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
required: true
default: "false"
env:
ECR_REPO: 499786161782.dkr.ecr.us-east-2.amazonaws.com
ECR_REPO: ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-east-2.amazonaws.com

jobs:
build-and-push-latest-docker-image:
Expand All @@ -41,7 +41,7 @@ jobs:
uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: us-east-2
role-to-assume: arn:aws:iam::499786161782:role/ghwf-axelar-core
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/ghwf-axelar-core

- name: Build docker image (normal)
env:
Expand Down

0 comments on commit 1a229c2

Please sign in to comment.