From f98807897227839964356023188330d6c603c770 Mon Sep 17 00:00:00 2001 From: Kaarthik Date: Wed, 15 Feb 2023 15:43:34 +0100 Subject: [PATCH 1/2] fix links --- README.md | 8 ++++---- action.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e22bfce..2942a86 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/action.yml b/action.yml index 33c973d..48060b8 100644 --- a/action.yml +++ b/action.yml @@ -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') From 025ffaabffc088a9ceed9d178b914d02756e74fb Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Wed, 15 Feb 2023 15:02:20 -0500 Subject: [PATCH 2/2] Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 48060b8..33c973d 100644 --- a/action.yml +++ b/action.yml @@ -22,7 +22,7 @@ runs: case ${{ inputs.version }} in tip) echo "Installing ko using go install" - go install github.com/ko-build/ko@main + go install github.com/google/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')