setup runpod images

use github.ref_name
This commit is contained in:
Wing Lian
2023-05-08 10:19:51 -04:00
parent 7576d85c73
commit 79deb35c68
4 changed files with 58 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/bash
echo $PUBLIC_KEY >> ~/.ssh/authorized_keys
chmod 700 -R ~/.ssh
# Start the SSH service in the background
service ssh start
# Execute the passed arguments (CMD)
exec "$@"