Skip to content

Commit

Permalink
Use the correct token credential
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Jun 12, 2024
1 parent ebc1ec0 commit 99f2f81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/actions/build_ami/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ inputs:
identity_scope:
description: The identity scope [uid2, euid]
required: true
github_token:
description: The github token to use
required: true
eif_repo_token:
description: The GITHUB token to use to get the EIF
required: true
Expand Down Expand Up @@ -63,7 +66,7 @@ runs:
uses: dawidd6/action-download-artifact@v3
if: ${{ inputs.operator_release == '' }}
with:
github_token: ${{ github.token }}
github_token: ${{ inputs.github_token }}
repo: IABTechLab/uid2-operator
name: 'aws-${{ inputs.identity_scope }}-deployment-files-.*'
name_is_regexp: true
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-uid2-ami.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ jobs:
uses: IABTechLab/uid2-operator/.github/actions/build_ami@kcc-UID2-3366-build-ami-in-operator-repo
with:
identity_scope: uid2
github_token: ${{ secrets.GITHUB_TOKEN }}
eif_repo_owner: ${{ env.REPO_OWNER }}
eif_repo_name: ${{ env.REPO_NAME }}
eif_repo_token: ${{ secrets.TEST_PAT }}
eif_repo_token: ${{ secrets.GHCR_PAT }}
operator_release: ${{ inputs.operator_release }}
operator_run_number: ${{ inputs.operator_run_number }}
operator_branch: ${{ inputs.operator_branch }}
Expand Down

0 comments on commit 99f2f81

Please sign in to comment.