diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b8ecb0e..4b2abd7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -65,3 +65,4 @@ jobs: args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 6d36d60..07e2611 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -30,3 +30,13 @@ changelog: exclude: - '^docs:' - '^test:' +brews: + - name: score-k8s + homepage: "https://score.dev" + tap: + owner: score-spec + name: homebrew-tap + token: "{{ .Env.TAP_GITHUB_TOKEN }}" + commit_author: + name: rachfop + email: prachford@icloud.com diff --git a/README.md b/README.md index c1765f1..c54b154 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,31 @@ For details of how the standard "template" provisioner works, see the `template: ## Usage +### Installation + +Either, install through Homebrew for macOS and supported Linux distributions: + +``` +$ brew install score-spec/tap/score-k8s + +# to upgrade an existing installation, tr +$ brew upgrade score-k8s +``` + +Or, download the binaries for your platform from the [latest Github releases](https://github.com/score-spec/score-k8s/releases): + +``` +$ wget https://github.com/score-spec/score-k8s/releases/download//score-k8s__.tar.gz +``` + +Or, install the Go module directly (Go > 1.22): + +``` +$ go install -v github.com/score-spec/score-k8s@latest +``` + +Alternative installation guides and implementations can be found in the [Score docs](https://docs.score.dev/docs/score-implementation/). + ### Init ```