https://github.com/developer-guy/setup-krew
📦🚀 A GitHub Action to install 👇 https://github.com/kubernetes-sigs/krew
https://github.com/developer-guy/setup-krew
github-actions go install-action krew
Last synced: 5 months ago
JSON representation
📦🚀 A GitHub Action to install 👇 https://github.com/kubernetes-sigs/krew
- Host: GitHub
- URL: https://github.com/developer-guy/setup-krew
- Owner: developer-guy
- Created: 2022-01-10T17:58:50.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-11T18:04:56.000Z (about 4 years ago)
- Last Synced: 2025-02-26T20:01:48.449Z (11 months ago)
- Topics: github-actions, go, install-action, krew
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# setup-krew GitHub Action
[](https://github.com/developer-guy/setup-krew/actions/workflows/testaction.yml)

This action enables you to download and install [kubernetes-sigs/krew](https://github.com/kubernetes-sigs/krew) binary.
`setup-krew` verifies the integrity of the `krew` release during installation by verifying its SHA256 against its SHA256 file release along the way with the binary itself.
## Usage
This action currently supports GitHub-provided Linux, macOS and Windows runners (self-hosted runners may not work).
Add the following entry to your Github workflow YAML file:
```yaml
uses: developer-guy/setup-krew@main
with:
krew-version: "v0.4.2" # optional
```
Example using a pinned version:
```yaml
jobs:
test_cosign_action:
runs-on: ubuntu-latest
name: Install Krew and test presence in path
steps:
- name: Install krew
uses: developer-guy/setup-krew@main
with:
krew-version: 'v0.4.2'
- name: Check install!
run: krew version
```