1
0
Fork 0
mirror of https://github.com/imjasonh/setup-crane synced 2026-07-06 22:52:45 +00:00

use go install

This commit is contained in:
Scott Nichols 2022-07-25 17:40:07 -07:00
parent 01d2668281
commit ee5bee9817
Failed to extract signature

View file

@ -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')