opcr-io / policy

CLI for building OPA policies into OCI images
https://www.openpolicycontainers.com
Apache License 2.0
218 stars 12 forks source link

Documented `go install` method fails with 0.1.43 due to `replace` directive. #98

Closed bleggett closed 1 year ago

bleggett commented 1 year ago

This is the same bug as https://github.com/opcr-io/policy/issues/61 - but recently another replace directive was added in go.mod and the issue resurfaced, meaning people cannot install this CLI tool in the documented fashion.

Suggestion: Add a CI step that tests go install

sakirma commented 1 year ago

Hello,

I believe someone accidentally added back the replace to the go.mod folder. If you look back to the go.mod file, then you can see it again.

The reason why I am opening this issue again is because I can't run the go install command anymore on the latest tag.