From 9a31684920a610d5dbe8012888714d64706f9787 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Tue, 6 Sep 2022 13:26:27 -0400 Subject: [PATCH] fix curl modes to point to new repo --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 275f311..a389b20 100644 --- a/action.yml +++ b/action.yml @@ -25,7 +25,7 @@ runs: go install github.com/google/ko@main ;; latest-release) - tag=$(curl -s -u "username:${{ github.token }}" https://api.github.com/repos/google/ko/releases/latest | jq -r '.tag_name') + tag=$(curl -s -u "username:${{ github.token }}" https://api.github.com/repos/ko-build/ko/releases/latest | jq -r '.tag_name') ;; *) tag="${{ inputs.version }}" @@ -38,7 +38,7 @@ runs: if [[ ! -z ${tag} ]]; then echo "Installing ko @ ${tag} for ${os}" - curl -fsL https://github.com/google/ko/releases/download/${tag}/ko_${tag:1}_${os}_x86_64.tar.gz | sudo tar xzf - -C /usr/local/bin ko + curl -fsL https://github.com/ko-build/ko/releases/download/${tag}/ko_${tag:1}_${os}_x86_64.tar.gz | sudo tar xzf - -C /usr/local/bin ko fi if [[ ! -z ${KO_DOCKER_REPO} ]]; then