From ee5bee9817f1ae3538c18ee501257c04cb18407f Mon Sep 17 00:00:00 2001 From: Scott Nichols Date: Mon, 25 Jul 2022 17:40:07 -0700 Subject: [PATCH] use go install --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 81b3d4d..7bd5dae 100644 --- a/action.yml +++ b/action.yml @@ -22,7 +22,7 @@ runs: case ${{ inputs.version }} in tip) echo "Installing crane using go get" - go get github.com/google/go-containerregistry/cmd/crane@main + go install github.com/google/go-containerregistry/cmd/crane@main ;; latest-release) tag=$(curl -s -u "username:${{ github.token }}" https://api.github.com/repos/google/go-containerregistry/releases/latest | jq -r '.tag_name')