Skip to content

Commit

Permalink
chore: maybe new debug approach
Browse files Browse the repository at this point in the history
  • Loading branch information
cif committed Oct 4, 2024
1 parent 946aa65 commit 063f975
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@ jobs:
- name: "Auth to AR"
run: gcloud auth configure-docker us-east4-docker.pkg.dev

- name: Debug OIDC Token Claims
- name: Inspect GOOGLE_GHA_CREDS_PATH JSON
run: |
curl -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" $ACTIONS_ID_TOKEN_REQUEST_URL | jq .
if [ -f "$GOOGLE_GHA_CREDS_PATH" ]; then
echo "Found the credentials file at $GOOGLE_GHA_CREDS_PATH"
cat $GOOGLE_GHA_CREDS_PATH | jq .
else
echo "No credentials file found at $GOOGLE_GHA_CREDS_PATH"
fi
- name: "Build Docker Image"
run: |
Expand Down

0 comments on commit 063f975

Please sign in to comment.