We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25c319b commit fd9f696Copy full SHA for fd9f696
1 file changed
.github/workflows/deploy.yml
@@ -41,6 +41,11 @@ jobs:
41
42
- name: Install dependencies
43
run: npm ci
44
+ - name: 'Debug OIDC Token'
45
+ run: |
46
+ ID_TOKEN=$(curl -sLS "${ACTIONS_ID_TOKEN_REQUEST_URL}&audience=google-cloud" -H "User-Agent: actions/oidc-client" -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN")
47
+ echo "Token Claims:"
48
+ echo $ID_TOKEN | cut -d'.' -f2 | base64 --decode | jq .
49
50
# Exchange GitHub's OIDC token for a short-lived GCP access token
51
# via Workload Identity Federation. Sets GOOGLE_APPLICATION_CREDENTIALS.
0 commit comments