Skip to content

Commit

Permalink
chore(docs): s/ENVBUILDER_GIT_SSH_KEY_PATH/ENVBUILDER_GIT_SSH_PRIVATE…
Browse files Browse the repository at this point in the history
…_KEY_PATH/g (#308)

(cherry picked from commit 3f054f6)
  • Loading branch information
johnstcn committed Aug 15, 2024
1 parent 618ea11 commit fda6bb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ resource "docker_container" "dev" {
If `ENVBUILDER_GIT_URL` does not start with `http://` or `https://`,
envbuilder will assume SSH authentication. You have the following options:

1. Public/Private key authentication: set `ENVBUILDER_GIT_SSH_KEY_PATH` to the path of an
1. Public/Private key authentication: set `ENVBUILDER_GIT_SSH_PRIVATE_KEY_PATH` to the path of an
SSH private key mounted inside the container. Envbuilder will use this SSH
key to authenticate. Example:

Expand All @@ -185,7 +185,7 @@ envbuilder will assume SSH authentication. You have the following options:
-v /tmp/envbuilder:/workspaces \
-e [email protected]:path/to/private/repo.git \
-e ENVBUILDER_INIT_SCRIPT=bash \
-e ENVBUILDER_GIT_SSH_KEY_PATH=/.ssh/id_rsa \
-e ENVBUILDER_GIT_SSH_PRIVATE_KEY_PATH=/.ssh/id_rsa \
-v /home/user/id_rsa:/.ssh/id_rsa \
ghcr.io/coder/envbuilder
```
Expand Down

0 comments on commit fda6bb5

Please sign in to comment.