github.com/GoogleContainerTools/skaffold/v2@v2.13.2/examples/jib/README.md (about)

     1  ### Example: Jib (Maven)
     2  
     3  [![Open in Cloud Shell](https://gstatic.com/cloudssh/images/open-btn.svg)](https://ssh.cloud.google.com/cloudshell/editor?cloudshell_git_repo=https://github.com/GoogleContainerTools/skaffold&cloudshell_open_in_editor=README.md&cloudshell_workspace=examples/jib)
     4  
     5  [Jib](https://github.com/GoogleContainerTools/jib) is one of the supported builders in Skaffold.
     6  It builds Docker and OCI images
     7  for your Java applications and is available as plugins for Maven and Gradle.
     8  
     9  The way you configure it in `skaffold.yaml` is the following build stanza:
    10  
    11  ```yaml
    12  build:
    13       artifacts:
    14       - image: skaffold-example
    15         context: .
    16         jib: {}
    17  ```
    18  
    19  Please note that this example is for a standalone Maven project, where
    20  all dependencies are resolved from outside. The Jib builder requires
    21  that the projects are configured to use the Jib plugins for Maven or Gradle.
    22  Multi-module builds require a bit additional configuration.