Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dick Hardt committed Sep 4, 2023
1 parent d410579 commit dc887db
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/oidc-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
uses: actions/checkout@v2

- name: get role name
env:
ROLE_NAME: ${GITHUB_REPOSITORY#*/}-repo
run: |
ROLE_NAME=${GITHUB_REPOSITORY#*/}-repo
echo ROLE_NAME=${ROLE_NAME}
- name: Install modules
Expand All @@ -37,9 +38,10 @@ jobs:

- name: get context
run: |
echo ROLE_NAME=${ROLE_NAME}
DISTRIBUTION_ID=$(aws iam list-role-tags --role-name $ROLE_NAME --query "Tags[?Key=='$distributionID'].Value" --output text)
BUCKET_NAME=$(aws iam list-role-tags --role-name $ROLE_NAME --query "Tags[?Key=='$bucketName'].Value" --output text)
echo ROLE=${ROLE}
echo ROLE_NAME=${ROLE_NAME}
echo DISTRIBUTION_ID=${DISTRIBUTION_ID}
echo BUCKET_NAME=${BUCKET_NAME}
Expand Down

0 comments on commit dc887db

Please sign in to comment.