fix links

This commit is contained in:
Kaarthik 2023-02-15 15:43:34 +01:00
parent 1aeea0844e
commit f988078972
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# GitHub Action to install and setup [`ko`](https://github.com/google/ko)
# GitHub Action to install and setup [`ko`](https://github.com/ko-build/ko)
[![Build](https://github.com/ko-build/setup-ko/actions/workflows/use-action.yaml/badge.svg)](https://github.com/ko-build/setup-ko/actions/workflows/use-action.yaml)
@ -33,14 +33,14 @@ _That's it!_ This workflow will build and publish your code to [GitHub Container
By default, the action sets `KO_DOCKER_REPO=ghcr.io/[owner]/[repo]` for all subsequent steps, and uses the `${{ github.token }}` to authorize pushes to GHCR.
See [documentation for `ko`](https://github.com/google/ko#configuration) to learn more about configuring `ko`.
See [documentation for `ko`](https://ko.build/configuration/) to learn more about configuring `ko`.
The action works on Linux and macOS [runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners).
If you'd like support for Windows runners, [let us know](https://github.com/ko-build/setup-ko/issues/new)!
### Select `ko` version to install
By default, `ko-build/setup-ko` installs the [latest released version of `ko`](https://github.com/google/ko/releases).
By default, `ko-build/setup-ko` installs the [latest released version of `ko`](https://github.com/ko-build/ko/releases).
You can select a version with the `version` parameter:
@ -76,7 +76,7 @@ steps:
### Release Integration
In addition to publishing images, `ko` can produce YAML files containing references to built images, using [`ko resolve`](https://github.com/google/ko#kubernetes-integration)
In addition to publishing images, `ko` can produce YAML files containing references to built images, using [`ko resolve`](https://ko.build/features/k8s)
With this action, you can use `ko resolve` to produce output YAML that you then attach to a GitHub Release using the [GitHub CLI](https://cli.github.com).
For example:

View File

@ -22,7 +22,7 @@ runs:
case ${{ inputs.version }} in
tip)
echo "Installing ko using go install"
go install github.com/google/ko@main
go install github.com/ko-build/ko@main
;;
latest-release)
tag=$(curl -L -s -u "username:${{ github.token }}" https://api.github.com/repos/ko-build/ko/releases/latest | jq -r '.tag_name')