Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lukas Werner
cx-custom-gitlab-runner
Commits
fd64b724
Commit
fd64b724
authored
Jul 28, 2021
by
Lukas Werner
Browse files
Fix authorized_keys for root runners
parent
e40c5a8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
runner_scripts/root/run.sh
View file @
fd64b724
...
...
@@ -38,7 +38,7 @@ id -u "$AUTH_USER" >/dev/null 2>&1 || error "User $AUTH_USER does not exist"
## Use a key pair to authenticate the user (private key has to be set as a GitLab CI/CD variable)
AUTH_KEY
=
$CUSTOM_ENV_AUTH_KEY
AUTH_PUB
=
$AUTH_USER_HOME
/gitlab-runner/authorized_keys
AUTH_PUB
=
/etc
/gitlab-runner/authorized_keys
(
while
read
-r
PUB
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment