You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First the user bundles their project into a tarball.
tar -C $CI_PROJECT_DIR -czf bundle.tar.gz .
Then they create a Docker style auth config in scary escaped inline JSON and send it to the Kaniko service through ssh & cat. I split this up into multiple sections in the job configuration above for the sake of readability. This step could be mitigated by fixing #23.
Finally the user ssh/cats the bundle tarball over to the Kaniko service where the kaniko executor reads it from stdin, builds the image, and pushes it to the destination.
We could perhaps provide a callable script, or a flag in the service, or something along those lines to run these commands automatically because for the most part these aren't really a user concern—could always allow manual operation for advanced use cases.
The text was updated successfully, but these errors were encountered:
Building images with the runner is currently somewhat complicated and could be made less so. Here's an example of the current process:
First the user bundles their project into a tarball.
Then they create a Docker style auth config in scary escaped inline JSON and send it to the Kaniko service through
ssh
&cat
. I split this up into multiple sections in the job configuration above for the sake of readability. This step could be mitigated by fixing #23.Finally the user ssh/cats the bundle tarball over to the Kaniko service where the kaniko executor reads it from stdin, builds the image, and pushes it to the destination.
We could perhaps provide a callable script, or a flag in the service, or something along those lines to run these commands automatically because for the most part these aren't really a user concern—could always allow manual operation for advanced use cases.
The text was updated successfully, but these errors were encountered: