Use build architecture as default platform#1394
Conversation
Signed-off-by: Hritik V <hritik.vijay@cred.club>
|
Can someone approve the workflows ? |
|
Hey, I've tried this out, however, if we go this direction we still need to change some behavior. Specifically, specifying a platform override will break input sources which do not allow for specifying platform: (the CLI tests show this) Thanks for doing all of the upfront work with anchore/stereoscope#149 , #1391 , and this PR. I can make a few mods to this and see how it work as a PoC? |
|
On further thought, I don't think it makes sense to use the user override here to specify a default platform. I think it makes more sense to put in a fix in stereoscope conditionally based on if the user provided a platform or not (and if not, set the default based off of the host arch). I'll open up a PR in stereoscope shortly. |
One possible solution to #1391
Build is taking a lot of time, Not yet tested