-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow building without pushing #144
Comments
|
This basically just drops the image after it's been built, as a way to validate the build "succeeds"? |
@dlorenc yup. It validates that the Dockerfile syntax is correct and so on, prior to merge. |
Alternatively if the build and push steps were separate commands that would be great too |
We'll tackle this by adding a flag to output a tarball on disk, which is useful for other cases as well. |
This should be fixed now. You can run with a --tar-path=/dev/null and it will skip the push. |
For the ones late to the party like me, add
|
thank you @smrutimandal ! you saved my month |
The On the other hand, with the |
Context
When using tooling like Gitlab-CI, we want to be able to run the build process pre-merge, in order to validate changes
Problem
kaniko doesn't appear to allow you to run just the build without also needing credentials to push to a registry.
Solution
Allow for just the build process to run, without specifying a destination to push to.
The text was updated successfully, but these errors were encountered: