Open da-nial opened 2 years ago
@Danialzz Can you please re-run the command with -v=trace
logs?
try invoking the command like KUBECONFIG="/dev/null" skaffold build
this seems to short circuit the logic that tries to detect if you're operating in a development context and pushes the images to their respective repos. FWIW I also had export SKAFFOLD_DETECT_MINIKUBE=false
but that seemed to have no effect and is probably not necessary.
Expected behavior
The image should be built and pushed to the remote registry.
Actual behavior
The output of
skaffold run
is as followsInformation
Steps to reproduce the behavior
I'm working with a private GitLab docker registry. I'm not sure which files I should provide, any tips are highly appreciated.
when I run
docker image ls
i can see the imageregistry.a.com:5000/b/c/d:4.5.5-265-g0186190-dirty
has been created, so I have no idea why skaffold can't find this image and push it to the remote repository? I should also note that skaffold is working perfectly fine with some other repositories that I use with this registry. I have logged in to the Docker registry, and the commanddocker push registry.a.com:5000/b/c/d:4.5.5-265-g0186190-dirty
successfully pushes my image to the registry. The strange thing is that when I runskaffold run
on the exact same repository in another computer (MacOS Big Sur) Skaffold works fine.