get.porter.sh/porter@v1.3.0/pkg/porter/testdata/porter-with-file-param.yaml (about)

     1  schemaVersion: 1.0.0-alpha.1
     2  name: porter-hello
     3  version: 0.1.0
     4  description: "A bundle with a custom action"
     5  registry: "localhost:5000"
     6  
     7  parameters:
     8    - name: my-file-param
     9      description: "My file param"
    10      type: file
    11      path: /container/path/to/file
    12  
    13  mixins:
    14    - exec
    15  
    16  install:
    17    - exec:
    18        description: "cat file"
    19        command: bash
    20        flags:
    21          c: '"cat /container/path/to/file"'
    22  
    23  uninstall:
    24    - exec:
    25        description: "cat file"
    26        command: bash
    27        flags:
    28          c: '"cat /container/path/to/file"'