fixed exposing ssh key
This commit is contained in:
parent
a3074c9b97
commit
451a4659cc
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ jobs:
|
|||
run: |
|
||||
eval $(ssh-agent -s)
|
||||
mkdir /root/.ssh
|
||||
echo "{{ secrets.STORAGE_SSH_KEY }} > ./id_rsa
|
||||
echo "${{ secrets.STORAGE_SSH_KEY }}" > ./id_rsa
|
||||
chmod 400 ~/.ssh/id_rsa
|
||||
rm -rf ${PWD}/output/*
|
||||
mkdir ${PWD}/output
|
||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
name: Build builder image
|
||||
run: |
|
||||
eval $(ssh-agent -s)
|
||||
echo ${{ secrets.STORAGE_SSH_KEY }} > ./id_rsa
|
||||
echo "${{ secrets.STORAGE_SSH_KEY }}" > ./id_rsa
|
||||
docker build --no-cache -f Dockerfile-builder -t builder:latest .
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue