Skip to content

Commit 2c9d4d2

Browse files
committed
Fix non root github user
1 parent 1cc6df4 commit 2c9d4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/terraform/github-runner-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#cloud-config
22
runcmd:
33
- apt update && apt install -y jq unzip curl git docker.io docker-compose-v2
4-
- useradd -m github --shell /bin/bash && usermod -aG sudo github && usermod -aG docker github
4+
- useradd -m github --shell /bin/bash && usermod -aG docker github
55
- cd /home/github
66
- su - github -c "mkdir -p /home/github/actions-runner"
77
- cd actions-runner

0 commit comments

Comments
 (0)