Skip to content

Commit

Permalink
Merge pull request #4 from imjasonh/fix-mv
Browse files Browse the repository at this point in the history
fix curl modes to point to new repo
  • Loading branch information
imjasonh committed Sep 6, 2022
2 parents 78eea08 + 1e5639e commit ace48d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Expand Up @@ -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 -L -s -u "username:${{ github.token }}" https://api.github.com/repos/ko-build/ko/releases/latest | jq -r '.tag_name')
;;
*)
tag="${{ inputs.version }}"
Expand All @@ -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
Expand Down

0 comments on commit ace48d7

Please sign in to comment.