ko-build / ko

Build and deploy Go applications
https://ko.build
Apache License 2.0
7.65k stars 401 forks source link

Using --image-refs in ko build results in dirty git #1378

Closed jeffmendoza closed 1 month ago

jeffmendoza commented 2 months ago

Run ko build with --image-refs=refs.txt See:

2024/08/22 11:18:46 git is in a dirty state
Please check in your pipeline what can be changing the following files:
?? refs.txt

It would be nice if this didn't create the file until after the check.

jeffmendoza commented 2 months ago

Looks like--oci-layout-path does the same thing. I can fix that as well.