Skip to content

Commit

Permalink
see if we are writing the PEM correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mkleene committed Dec 20, 2024
1 parent e2a3077 commit f1097d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/start-up-with-containers/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,12 @@ runs:
pem="$(jq -r '.pem' <<< "${json}")"
kid="$(jq -r '.kid' <<< "${json}")"
private_path="${HOME}/${kid}.pem"
printf 'here is the pem: %s\n' "${pem}"
echo "${pem}" >"${private_path}"
cat "${private_path}"
keylist_command="$(printf '{kid, alg, private: "%s"}' "${private_path}")"
keylist_obj="$(jq "${keylist_command}" <<< "${json}")"
Expand Down

0 comments on commit f1097d1

Please sign in to comment.