Skip to content

Commit

Permalink
add to PATH for me
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Hall <jason@chainguard.dev>
  • Loading branch information
imjasonh committed Jun 11, 2024
1 parent c528883 commit 11d9404
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ runs:
if [[ ! -z ${tag} ]]; then
echo "Installing crane @ ${tag} for ${os} on ${arch}"
tmp=$(mktemp -d)
curl -fsL https://github.com/google/go-containerregistry/releases/download/${tag}/go-containerregistry_${os}_${arch}.tar.gz | tar xzf - -C ${tmp} crane
curl -fsL https://github.com/google/go-containerregistry/releases/download/${tag}/go-containerregistry_${os}_${arch}.tar.gz | tar xz -C "${tmp}" crane
chmod +x ${tmp}/crane
$PATH=${PATH}:${tmp}
echo "${tmp}" >> $GITHUB_PATH
fi
Expand Down

0 comments on commit 11d9404

Please sign in to comment.