StatCan / aaw-contrib-containers

Containers to be used for general purpose Data Science
Other
3 stars 14 forks source link

feat(workflows): integrate dockle #116

Closed Jose-Matsuda closed 1 year ago

Jose-Matsuda commented 1 year ago

Will need to determine if we want dockle failing to block pushes.

Note that I made it such that it will fail the workflow on prs if the FATAL is seen, however if we are ok with that then I just have it ignore / exit-code 0 for the actual publish. This itself may require some elaboration / final decisions on it.

Jose-Matsuda commented 1 year ago

I don't understand why it's failing, I've moved things around and as I refer to it again I don't see why I'm getting the whole

FATAL   unable to initialize a image struct: failed to initialize source: pinging container registry localhost:5000: 
Get "https://localhost:5000/v2/": dial tcp 127.0.0.1:5000: connect: connection refused

When it works fine for trivy, it must be something with dockle itself