-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install Grype #1102
Comments
Hi @nblack-er I've just tried this out for macOS and Linux and it seems to be working fine for me, could you retry? NOTE I also saw a failure yesterday where https://github.com/anchore/grype/releases/download/v0.56.0/grype_0.56.0_linux_arm64.deb was returning 403 for some reason, but seems to be fine now. |
As @jdolitsky noted, it might be good to add a fallback to the API call here: https://api.github.com/repos/{org}/{repo}/releases/latest |
Cross-posted from the analogous issue in the Syft repo: I would agree with the benefits of a fallback, as long as it doesn't become the only option. Sadly, the API requires a GitHub token even for public repositories. The default GitHub token provided in GitHub Actions doesn't work for this purpose, so repositories might have to use a PAT/application token. This might not be feasible for public repositories and would pose a security risk for something that should be public. |
GitHub reverted the change, and I am able to use the install.sh script again. |
Hi @ericodonoghue, I just tried to reproduce and I can't get it to fail here on my end, on a couple of different systems. I wonder if it was a temporary outage on the github side? Can you try again and see if the error repeats? |
If you're still running into this issue can you post the output of:
(note the |
It worked, must of been an issue with Github. Thanks! |
I'm getting the same thing in a
Using
the Passing
Does the same thing. |
I can install if I do something rather lazy as
|
What happened:
Starting a few hours ago, it was noticed that installation of Grype is no longer working with the install.sh script.
What you expected to happen:
No errors
How to reproduce it (as minimally and precisely as possible):
curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin [info] checking github for the current release tag [error] unable to find tag='' [error] do not specify a version or select a valid version from https://github.com/anchore/grype/releases
Anything else we need to know?:
Environment:
grype version
:cat /etc/os-release
or similar): 22.04.1 LTS (Jammy Jellyfish)The text was updated successfully, but these errors were encountered: