diff --git a/README.md b/README.md index 8c00116..e781c35 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,10 @@ Different types of secrets are supported and exposed to your builds in appropria The hooks needs to be installed directly in the agent so that secrets can be downloaded before jobs attempt checking out your repository. We are going to assume that buildkite has been installed at `/buildkite`, but this will vary depending on your operating system. Change the instructions accordingly. -The core of the hook is an `s3secrets-helper` binary, the result of `go build` in the `s3secrets-helper/` subdirectory of this repository. It must be placed in `$PATH` to be found by the `hooks/environment` wrapper script. +The core of the hook is an `s3secrets-helper` binary. This can be built using +`go build` in the [`s3secrets-helper/`](s3secrets-helper) directory in this +repository, or downloaded from the assets attached to a [GitHub Release](https://github.com/buildkite/elastic-ci-stack-s3-secrets-hooks/releases). +It must be placed in `$PATH` to be found by the `hooks/environment` wrapper script. ```bash # clone to a path your buildkite-agent can access @@ -20,7 +23,7 @@ git clone https://github.com/buildkite-plugins/s3-secrets-buildkite-plugin.git / (cd /buildkite/s3_secrets/s3secrets-helper && go build -o /usr/local/bin/s3secrets-helper) ``` -Modify your agent's global hooks (see [https://buildkite.com/docs/agent/v3/hooks#global-hooks](https://buildkite.com/docs/agent/v3/hooks#global-hooks)): +Modify your agent's hooks (see [Hook Locations](https://buildkite.com/docs/agent/v3/hooks#hook-locations): ### `${BUILDKITE_ROOT}/hooks/environment`