Store sensitive vars in pass
This commit is contained in:
parent
53a1343491
commit
44b73a216f
7 changed files with 15 additions and 8 deletions
|
@ -21,7 +21,7 @@
|
|||
mode: 0755
|
||||
|
||||
- name: Register runner
|
||||
command: "forgejo-runner register --no-interactive --instance={{ forgejo_url }} --token={{ forgejo_runner_token }}"
|
||||
command: "forgejo-runner register --no-interactive --instance={{ forgejo_url }} --token={{ lookup('passwordstore', 'git/ci subkey=runner_token') }}"
|
||||
args:
|
||||
chdir: "{{ runner_wd }}"
|
||||
creates: "{{ runner_wd }}/.runner"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue