Closed porwalameet closed 2 months ago
just k3d
to setup a cluster with registry.just build
thanks @eshepelyuk. Is there a way we can just build docker image without spinning up k3d or pushing to local registry which is running at port 5000. The reason for ask is, we have a pipeline where we are trying to clone kube-mgmt, build the code, create docker image, tag and push to private container registry. There will be no local changes.
Then why do you care about building docker image at all ? Just pull it from dockerhub, tag it however you want and push to your private registry.
Agree with your point. Howver, the pipeline does static code analysis and even patch base OS vulnerabilities if any, similar to COPA(https://github.com/project-copacetic/copacetic). So it tries to build from source.
@eshepelyuk , if this is the only to build image for kube-mgmt, then we can close the ticket. Thanks.
I have all the pre-req installed on the WSL ubuntu.
Environment: WSL ubuntu Required binary installed: just, skaffold, go, k3d and helm.
I am trying to build kube-mgmt locally for testing.
From the command, i have cloned kube-mgmt and trying to build image locally before making any changes. I get the following error:
I want to build the image and tag separately and pushed registry as manual commands. Can someone please point, any discrepancy from expected set of commands. Thanks.
To add, I followed the workflow file of github action: Steps:
go install honnef.co/go/tools/cmd/staticcheck@2022.1.3
just test
, and returns following error:@eshepelyuk