Skip to content

Commit ff8d471

Browse files
committed
fix: use BAO_ADDR and .docker/config.json
1 parent beba077 commit ff8d471

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

doc/source/configuration/ci-cd.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ In order to enable JWT support the following steps must be carried out within th
315315

316316
2. Run :code:`sudo docker exec -it bao sh`
317317

318-
3. Run :code:`export BAO_AUTH_ADDR=http://127.0.0.1:8200`
318+
3. Run :code:`export BAO_ADDR=http://127.0.0.1:8200`
319319

320320
4. Run :code:`bao login` and use root token
321321

etc/kayobe/ansible/deploy-gitlab-runner.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
state: directory
1010

1111
- name: Ensure docker/config.json exists for runner
12-
ansible.builtin.file:
12+
ansible.builtin.copy:
1313
content: |
1414
{
1515
"auths": {
@@ -20,6 +20,5 @@
2020
}
2121
dest: /opt/.docker/config.json
2222
mode: "0600"
23-
2423
roles:
25-
- name: riemers.gitlab-runner
24+
- role: riemers.gitlab-runner

0 commit comments

Comments
 (0)