ko builder doesn't error when no default repo is set #6933
Labels
area/build
builder/ko
help wanted
We would love to have this done, but don't have the bandwidth, need help from contributors
kind/bug
Something isn't working
priority/p2
May take a couple of releases
Expected behavior
skaffold returns an error when it can't infer a proper registry / image name
Actual behavior
skaffold hangs/eventually times out trying to contact an unresolvable host
Information
Linux eevee 5.15.5-arch1-1 #1 SMP PREEMPT Thu, 25 Nov 2021 22:09:33 +0000 x86_64 GNU/Linux
Steps to reproduce the behavior
git clone https://github.com/seankhliao/testrepo-705 && cd testrepo-705
skaffold build
this succeeds, but with a wrong image name and doesn't seem to output the image anywhere usefulskaffold build
second time, this hangs, maybe trying to lookup the previously built version?It would also be nice to be able to specify the default repo in skaffold.yaml instead of global config
trace logs from build 1
trace logs from build 2
The text was updated successfully, but these errors were encountered: