Move CI runners to Droplet and enable application HTTPS
vpn-dns-gateway/pipeline/pr-main This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
# Root-operated, one-time stdin import. Never print or stage registration in Git.
|
||||
set -eu
|
||||
test "$(id -u)" = 0
|
||||
docker volume create ssw590-local-runner-data >/dev/null
|
||||
docker run --rm -i --network none --user 0:0 --entrypoint sh \
|
||||
--mount type=volume,source=ssw590-local-runner-data,target=/data \
|
||||
docker.io/gitea/runner@sha256:66d80966792e621c9761c47919644198d35fd1c297e9a01e69ed3c1ae37db0c7 \
|
||||
-c 'set -eu; test ! -e /data/.runner; umask 077; cat > /data/.runner; test -s /data/.runner; chmod 700 /data; chmod 600 /data/.runner'
|
||||
echo 'Registration imported into protected Docker volume; values not printed.'
|
||||
Reference in New Issue
Block a user