mirror of
https://github.com/imjasonh/setup-crane
synced 2026-07-06 22:52:45 +00:00
authorize request to get releases
This commit is contained in:
parent
55478cc113
commit
46e1849f94
1 changed files with 2 additions and 2 deletions
|
|
@ -26,8 +26,8 @@ runs:
|
|||
;;
|
||||
latest-release)
|
||||
jq --version
|
||||
curl -s https://api.github.com/repos/google/go-containerregistry/releases/latest
|
||||
tag=$(curl -s https://api.github.com/repos/google/go-containerregistry/releases/latest | jq -r '.tag_name')
|
||||
curl -s -u "username:${{github.token}}" https://api.github.com/repos/google/go-containerregistry/releases/latest
|
||||
tag=$(curl -s -u "username:${{ github.token }}" https://api.github.com/repos/google/go-containerregistry/releases/latest | jq -r '.tag_name')
|
||||
;;
|
||||
*)
|
||||
tag="${{ inputs.version }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue