Skip to content

Commit

Permalink
Try to fix SSH handling agian
Browse files Browse the repository at this point in the history
The last commit message mentions how picky OpenSSH is
about PEM key formats. It. is. really. picky.
  • Loading branch information
Sharpie committed Sep 18, 2021
1 parent 34da565 commit c2a884a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_puppet-agent_raspberrypios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
run: |
mkdir -p ~/.ssh
printf '%s' "${SSH_KEY}" > ~/.ssh/id_rsa-raspberry-builder
printf '%s\n' "${SSH_KEY}" > ~/.ssh/id_rsa-raspberry-builder
chmod 0600 ~/.ssh/id_rsa-raspberry-builder
printf 'TF_VAR_ssh_pubkey=%s\n' "$(ssh-keygen -y -f ~/.ssh/id_rsa-raspberry-builder)" >> $GITHUB_ENV
printf 'TF_VAR_ssh_pubkey=%s' "$(ssh-keygen -y -f ~/.ssh/id_rsa-raspberry-builder)" >> $GITHUB_ENV
- name: 'Provision build hardware'
env:
Expand Down

0 comments on commit c2a884a

Please sign in to comment.