1
0
mirror of https://github.com/ko-build/ko.git synced 2025-02-01 19:14:40 +02:00

Document setup-ko in README.md (#484)

This commit is contained in:
Jason Hall 2021-11-02 17:35:50 -04:00 committed by GitHub
parent 1e46fdebd5
commit 52d42d87a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,6 +47,17 @@ With Go 1.16+, build and install the latest released version:
go install github.com/google/ko@latest
```
### Setup on GitHub Actions
You can use the [`setup-ko`](https://github.com/imjasonh/setup-ko) action
to install `ko` and setup auth to [GitHub Container
Registry](https://github.com/features/packages) in a GitHub Action workflow:
```
steps:
- uses: imjasonh/setup-ko@v0.4
```
## Authenticate
`ko` depends on the authentication configured in your Docker config (typically