Skip to content

Commit 116ccf7

Browse files
committed
update README
Signed-off-by: Denis Vaumoron <[email protected]>
1 parent 1e16205 commit 116ccf7

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ If you need to enable cosign checks, install `cosign` tool via one of the follow
9191
```sh
9292
brew install cosign
9393
```
94+
9495
</details>
9596

9697

@@ -99,6 +100,7 @@ brew install cosign
99100
```sh
100101
apk add cosign
101102
```
103+
102104
</details>
103105

104106

@@ -109,6 +111,7 @@ LATEST_VERSION=$(curl https://api.github.com/repos/sigstore/cosign/releases/late
109111
curl -O -L "https://github.com/sigstore/cosign/releases/latest/download/cosign-${LATEST_VERSION}-1.x86_64.rpm"
110112
sudo rpm -ivh cosign-${LATEST_VERSION}.x86_64.rpm
111113
```
114+
112115
</details>
113116
<details><summary><b>Linux: dkpg</b></summary><br>
114117

@@ -132,6 +135,7 @@ sudo dpkg -i cosign_${LATEST_VERSION}_amd64.deb
132135
brew tap tofuutils/tap
133136
brew install tenv
134137
```
138+
135139
</details>
136140

137141
<details><summary><b>Ubuntu</b></summary><br>
@@ -1098,7 +1102,7 @@ TFENV_REMOTE=https://artifactory.example.com/artifactory/hashicorp
10981102
TFENV_LIST_MODE=html
10991103
```
11001104

1101-
Example 2 : Retrieve Terraform binaries from the mirror and list available releases from the Hashicorp releases API.
1105+
Example 2 : Retrieve Terraform binaries from the mirror and list available releases from the Hashicorp releases API (TFENV_LIST_URL is optional because it default to https://releases.hashicorp.com with the default list mode "api").
11021106

11031107
```console
11041108
TFENV_REMOTE=https://artifactory.example.com/artifactory/hashicorp
@@ -1107,15 +1111,15 @@ TFENV_LIST_URL=https://releases.hashicorp.com
11071111

11081112
Example 1 & 2, does not need install mode (by release index.json is figed in mirror without problem), however create a rewrite rule from "https://releases.hashicorp.com" to "https://artifactory.example.com/artifactory/hashicorp" to obtains correct download URLs.
11091113

1110-
Example 3 : Retrieve OpenTofu binaries and list available releases from the mirror.
1114+
Example 3 : Retrieve OpenTofu binaries and list available releases from the mirror (TOFUENV_INSTALL_MODE is optional because overloading TOFUENV_REMOTE already set it to "direct").
11111115

11121116
```console
11131117
TOFUENV_REMOTE=https://artifactory.example.com/artifactory/github
11141118
TOFUENV_INSTALL_MODE=direct
11151119
TOFUENV_LIST_MODE=html
11161120
```
11171121

1118-
Example 4 : Retrieve OpenTofu binaries from the mirror and list available releases from the GitHub API.
1122+
Example 4 : Retrieve OpenTofu binaries from the mirror and list available releases from the GitHub API (TOFUENV_INSTALL_MODE is optional because overloading TOFUENV_REMOTE already set it to "direct", and TOFUENV_LIST_URL is optional because it default to https://api.github.com/repos/opentofu/opentofu/releases with the default list mode "api").
11191123

11201124
```console
11211125
TOFUENV_REMOTE=https://artifactory.example.com/artifactory/github

0 commit comments

Comments
 (0)