diff --git a/modules/op-installing-pipelines-as-code-cli.adoc b/modules/op-installing-pipelines-as-code-cli.adoc index 35eb5f90fb4b..c498eb425521 100644 --- a/modules/op-installing-pipelines-as-code-cli.adoc +++ b/modules/op-installing-pipelines-as-code-cli.adoc @@ -22,40 +22,40 @@ You can also install the `tkn-pac` `tkn-pac` version `0.23.1` binaries for the s The binaries are compatible with `tkn` version `0.23.1`. ==== -In addition, you can install `tkn-pac` using the following methods: - -[CAUTION] -==== -The `tkn-pac` CLI tool available using these methods is _not updated regularly_. -==== - -* Install on Linux or Mac OS using the `brew` package manager: -+ -[source,terminal] ----- -$ brew install openshift-pipelines/pipelines-as-code/tektoncd-pac ----- -+ -You can upgrade the package by running the following command: -+ -[source,terminal] ----- -$ brew upgrade openshift-pipelines/pipelines-as-code/tektoncd-pac ----- - -* Install as a container using `podman`: -+ -[source,terminal] ----- -$ podman run -e KUBECONFIG=/tmp/kube/config -v ${HOME}/.kube:/tmp/kube \ - -it quay.io/openshift-pipeline/pipelines-as-code tkn-pac help ----- -+ -You can also use `docker` as a substitute for `podman`. - -* Install from the GitHub repository using `go`: -+ -[source,terminal] ----- -$ go install github.com/openshift-pipelines/pipelines-as-code/cmd/tkn-pac ----- \ No newline at end of file +// In addition, you can install `tkn-pac` using the following methods: + +// [CAUTION] +// ==== +// The `tkn-pac` CLI tool available using these methods is _not updated regularly_. +// ==== + +// * Install on Linux or Mac OS using the `brew` package manager: +// + +// [source,terminal] +// ---- +// $ brew install openshift-pipelines/pipelines-as-code/tektoncd-pac +// ---- +// + +// You can upgrade the package by running the following command: +// + +// [source,terminal] +// ---- +// $ brew upgrade openshift-pipelines/pipelines-as-code/tektoncd-pac +// ---- + +// * Install as a container using `podman`: +// + +// [source,terminal] +// ---- +// $ podman run -e KUBECONFIG=/tmp/kube/config -v ${HOME}/.kube:/tmp/kube \ +// -it quay.io/openshift-pipeline/pipelines-as-code tkn-pac help +// ---- +// + +// You can also use `docker` as a substitute for `podman`. + +// * Install from the GitHub repository using `go`: +// + +// [source,terminal] +// ---- +// $ go install github.com/openshift-pipelines/pipelines-as-code/cmd/tkn-pac +// ---- \ No newline at end of file