aboutsummaryrefslogtreecommitdiff
path: root/.github/devcontainers-action/action.yml
blob: c3de7d8e0652bdc143a0f57cb7ed1a5be2bf0cb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: 'Dev Container'
description: 'Publish custom development container feature(s) and/or templates(s)'
author: 'GitHub'
branding:
  icon: box
  color: blue
inputs:
  # Global options
  publish-features:
    required: false
    default: "false"
    description: "['true'/'false'] Publish dev container 'feature' artifacts"
  publish-templates:
    required: false
    default: "false"
    description: "['true'/'false'] Publish dev container 'template' artifacts"
  generate-docs:
    required: false
    default: "false"
    description: "Parse machine-readable (.json) configuration files and commit standardized documentation"

  # 'features' options
  base-path-to-features:
    required: false
    default: ''
    description: "Relative path to the 'src' folder containing dev container 'feature(s)'"
  oci-registry:
    required: false
    default: "ghcr.io"
    description: "Name of the OCI registry that implements the OCI Artifact Distribution Specification"
  features-namespace:
    required: false
    default: "<owner>/<repo>"
    description: "A unique indentifier for the collection of features"

  # 'template' options
  base-path-to-templates:
    required: false
    default: ''
    description: "Relative path to the folder containing dev container 'template(s)'"

  # EXPERIMENTAL
  tag-individual-features:
    required: false
    default: "false"
    description: "Tag individual features"
  publish-to-npm:
    required: false
    default: "false"
    description: "Should publish features to NPM?"
  publish-release-artifacts:
    required: false
    default: "false"
    description: "Publish release artifacts (classic)"
  publish-to-oci:
    required: false
    default: "false"
    description: "Publish to OCI?"

runs:
  using: 'node16'
  main: 'dist/index.js'