-
Notifications
You must be signed in to change notification settings - Fork 577
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
make snapshot
fails locally on main branch
#1923
Comments
This can be reproduced with just |
make snapshot
fails locally on main branch
Starting to look at this--I couldn't reproduce the failure until I updated Docker to the latest version: Worked:
Doesn't work:
|
@luhring, I think maybe I found at least a workaround to this. I ran:
...and then re-ran make snapshot and it completed successfully. FWIW, my contexts look like this:
I don't know much about goreleaser so I'm not sure if there is a fix we can make in the build tooling here. Thoughts appreciated. |
Thanks @tgerla! That workaround works for me. And TIL about Docker "contexts"... I also noticed that because Syft defines the make target as the snapshot directory, make will think the snapshot has been completed successfully even when this failure happens. I'm not sure of a way to fix this, since goreleaser is doing so many things in one pass. I'll let you know if I find a better fix for this one! |
What happened:
On a fresh clone of the
main
branch, runningmake snapshot
(or anything that depends on it, likemake compare-mac
) failsWhat you expected to happen:
Not fail 😃 (this makes it more difficult to contribute)
Steps to reproduce the issue:
Anything else we need to know?:
Environment:
macOS 13.4.1 (22F82) (Apple M1 Max)
The text was updated successfully, but these errors were encountered: