github.com/GoogleContainerTools/skaffold@v1.39.18/examples/profiles/README.md (about)

     1  ### Example: Getting started with a simple go app
     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/profiles)
     4  
     5  This is a simple show-case of Skaffold profiles
     6  
     7  #### Init
     8  
     9  Use the `--profile` option to enable a particular profile `skaffold dev --profile staging-profile`
    10  
    11  #### Workflow
    12  
    13  * Build only the `world-service` when using the main profile
    14  * Activate `minikube-profile` automatically when the current context is `minikube`. Only build the `hello-service` in that case.
    15  * Build both services when the `staging-profile` is used. Override the kube-context to `staging` in that case.