mirror of
https://github.com/Azure/setup-kubectl.git
synced 2026-04-12 00:02:17 +08:00
Update README.md
This commit is contained in:
parent
b77c57fb24
commit
254b8cb07f
12
README.md
12
README.md
@ -1,3 +1,15 @@
|
|||||||
|
# Setup Kubectl
|
||||||
|
#### Install a specific version of kubectl binary on the runner.
|
||||||
|
|
||||||
|
Acceptable values are latest or any semantic version string like 1.15.0. Use this action in workflow to define which version of kubectl will be used.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- uses: azure/k8s-actions/setup-kubectl@master
|
||||||
|
with:
|
||||||
|
version: '<version>' # default is latest stable
|
||||||
|
id: install
|
||||||
|
```
|
||||||
|
Refer to the action metadata file for details about all the inputs https://github.com/Azure/setup-kubectl/blob/master/action.yml
|
||||||
|
|
||||||
# Contributing
|
# Contributing
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user