Skip to content

Commit

Permalink
Test2
Browse files Browse the repository at this point in the history
  • Loading branch information
gopuman committed Jul 12, 2023
1 parent 2dd8086 commit bd2b74c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,8 @@ runs:
echo $REQUEST_TOKEN
echo "def"
# OIDC_TOKEN=$(curl -sLS ${ACTIONS_ID_TOKEN_REQUEST_URL}&audience=uffizzi -H "User-Agent: actions/oidc-client" -H "Authorization: Bearer ${ACTIONS_ID_TOKEN_REQUEST_TOKEN}")
# OIDC_TOKEN=$(curl -sLS "$REQUEST_TOKEN_URL&audience=uffizzi" -H "User-Agent: actions/oidc-client" -H "Authorization: Bearer $REQUEST_TOKEN")
curl -sLS "$REQUEST_TOKEN_URL&audience=uffizzi" -H "User-Agent: actions/oidc-client" -H "Authorization: Bearer $REQUEST_TOKEN"
# echo "$OIDC_TOKEN"
OIDC_TOKEN=$(curl -sLS "${REQUEST_TOKEN_URL}&audience=uffizzi" -H "User-Agent: actions/oidc-client" -H "Authorization: Bearer $REQUEST_TOKEN")
uffizzi login_by_identity_token --token "${OIDC_TOKEN}" --access-token "${ACCESS_TOKEN}" --server "${UFFIZZI_SERVER}"
# ./${{ inputs.binary-name }} login_by_identity_token --token ${OIDC_TOKEN} --access-token ${ACCESS_TOKEN} --server=app.uffizzi.com
Expand Down

0 comments on commit bd2b74c

Please sign in to comment.