mirror of
https://gitlab.com/monolithify/base-image-build.git
synced 2024-11-24 14:21:23 +00:00
ci: fix initSSH
This commit is contained in:
parent
93fa4f4a6d
commit
5588420eaa
@ -3,8 +3,8 @@ set -e
|
||||
|
||||
if [ -n "$CI" ]; then
|
||||
mkdir $SECURE_FILES_DOWNLOAD_PATH
|
||||
echo $BUILDER_PUBLIC_KEY > $SECURE_FILES_DOWNLOAD_PATH/id_ed25519.pub
|
||||
echo $BUILDER_PRIVATE_KEY > $SECURE_FILES_DOWNLOAD_PATH/id_ed25519
|
||||
echo "$BUILDER_PUBLIC_KEY" > $SECURE_FILES_DOWNLOAD_PATH/id_ed25519.pub
|
||||
echo "$BUILDER_PRIVATE_KEY" > $SECURE_FILES_DOWNLOAD_PATH/id_ed25519
|
||||
chmod -R 600 $SECURE_FILES_DOWNLOAD_PATH
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user