Skip to content

Commit

Permalink
docs: update docs for new runtimeType field
Browse files Browse the repository at this point in the history
  • Loading branch information
gsquared94 committed Jan 5, 2023
1 parent 71b1078 commit f78c0f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs-v2/content/en/docs/workflows/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,11 @@ your base image. (`//` comments must be stripped.)

## Supported Language Runtimes

This section describes how `debug` recognizes the language runtime used in a
container image for specific language runtimes.
The language runtime for the artifacts can be specified in the `skaffold.yaml` file.
{{% readfile file="samples/debug/runtime-type.yaml" %}}

Otherwise Skaffold `debug` recognizes the language runtime used in a
container image for specific language runtimes using standard heuristics described below.

{{% tabs %}}
{{% tab "GO" %}}
Expand Down
5 changes: 5 additions & 0 deletions docs-v2/content/en/samples/debug/runtime-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
build:
artifacts:
- image: gcr.io/k8s-skaffold/example
runtimeType: go # specify one of `go`, `nodejs`, `jvm`, `python`, or `netcore`
local: {}

0 comments on commit f78c0f2

Please sign in to comment.