From 4ec5fad8576a6f4a94cf9cdb80a8eb8a105e4e15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Wed, 3 Jan 2024 00:09:56 +0100 Subject: [PATCH] chore: update docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- website/docs/install.md | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/website/docs/install.md b/website/docs/install.md index bc99f70d..65353818 100644 --- a/website/docs/install.md +++ b/website/docs/install.md @@ -1,6 +1,27 @@ # Install You can install the pre-compiled binary (in several ways), or compile from source. +We also provide a [GitHub action](#github-action) to easily install Kyverno-JSON in your workflows. + +## Install the pre-compiled binary + +### Homebrew tap + +**add tap:** + +```bash +brew tap kyverno/kyverno-json https://github.com/kyverno/kyverno-json +``` + +**install kyverno-json:** + +```bash +brew install kyverno/kyverno-json/kyverno-json +``` + +### Manually + +Download the pre-compiled binaries for your system from the [releases page](https://github.com/kyverno/kyverno-json/releases) and copy them to the desired location. ## Using `go install` @@ -10,10 +31,6 @@ You can install with `go install` with: go install github.com/kyverno/kyverno-json@latest ``` -## Download binary - -Download the pre-compiled binaries from the [releases page](https://github.com/kyverno/kyverno-json/releases) and copy them to the desired location. - ## Build from the source code **clone the repository:**