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:
parent
01d2668281
commit
ee5bee9817
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue