hasura / gitkube

Build and deploy docker images to Kubernetes using git push
Apache License 2.0
3.81k stars 207 forks source link

Is there a way to only build docker image, no deployment? #89

Open linuxshokunin opened 6 years ago

linuxshokunin commented 6 years ago

Hi,

I'm new to gitkube. I'm trying to find a way to build docker images and push it to private registry only, without deploying pods in k8s cluster. Is there an option for that or is it even possible?

tirumaraiselvan commented 6 years ago

Unfortunately, not at the moment. Maybe we can have a dryRun flag in the deployment section of the remote.

This is quite easy to implement. Any takers?

linuxshokunin commented 6 years ago

Great. We have ci/cd pipelines in jenkins but I didn't want to mount /var/run/docker.sock on jenkins instances.