Skip to content
Snippets Groups Projects
Commit 78d964df authored by ab0027's avatar ab0027 :speech_balloon:
Browse files

Make sure ssh key has 600 permission before using

parent 9111585c
No related branches found
No related tags found
No related merge requests found
Pipeline #7317 failed
......@@ -47,6 +47,10 @@ build-zynthbox-image-armhf:
- xz -zv --threads=8 --memory=90% ./workspace/$image_name
- echo "Compressed Image Size -> $(du -h ./workspace/$image_name.xz)"
# Ensuring key security
- echo "Ensuring key security"
- chmod 600 ${aptly_ssh_key}
# Push compressed image to pub.zynthbox.io
- echo "# Push compressed image to pub.zynthbox.io"
- scp -P 3138 -i "$SSH_KEY_PUB_ZYNTHBOX_IO" -o "StrictHostKeyChecking no" "./workspace/$image_name.xz" zynthbox@pub.zynthbox.io:/mnt/pub_zynthbox_io_volume/ISOs/.ci-testing-isos/
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment