Skip to content

Commit

Permalink
add summary
Browse files Browse the repository at this point in the history
  • Loading branch information
ccwienk committed Nov 8, 2024
1 parent 405f651 commit 2263d8e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/actions/gar-auth/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ runs:
id: export
shell: bash
run: |
set -eu
set -o pipefail
username=oauth2accesstoken
password=${{ steps.auth.outputs.access_token }}
token=$(echo -n ${username}:${password} | base64 -w0)
Expand All @@ -68,3 +70,10 @@ runs:
echo "docker_cfg=${docker_cfg}" >> ${GITHUB_OUTPUT}
echo "access_token=${token}" >> ${GITHUB_OUTPUT}
cat << EOF > ${GITHUB_STEP_SUMMARY}
## GAR-Auth Summary
authenticated against: \`${host}\`
user: \`${{ inputs.gcp_service_account }}\`
docker-cfg written to: \`${docker_cfg_path}\`
EOF

0 comments on commit 2263d8e

Please sign in to comment.