github.com/GoogleContainerTools/skaffold/v2@v2.13.2/integration/testdata/build/skaffold.yaml (about)

     1  apiVersion: skaffold/v4beta11
     2  kind: Config
     3  build:
     4    local:
     5      push: false
     6    artifacts:
     7      # A simple Docker build
     8    - image: simple-build
     9  
    10      # Building from a sub-directory
    11    - image: sub-directory
    12      context: sub-directory
    13  
    14      # Testing multiline env variables in Dockerfiles
    15      # Would have caught #1624
    16    - image: multi-env
    17      context: multi-env
    18  
    19      # Testing Dockerfiles with targets
    20    - image: targets
    21      context: targets
    22  
    23      # Providing a target
    24      # Would have caught #1605
    25    - image: target1
    26      context: targets
    27      docker:
    28        target: target1
    29  
    30      # Providing another target
    31      # Would have caught #1605
    32    - image: target2
    33      context: targets
    34      docker:
    35        target: target2
    36  
    37      # Multi-stage build
    38      # Would have caught #2315
    39    - image: multi-stage
    40      context: multi-stage