aboutsummaryrefslogtreecommitdiff
path: root/.github/devcontainers-action/lib/main.js
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-08-09 21:32:59 +0300
committerGitHub <noreply@github.com>2022-08-09 21:32:59 +0300
commit6ea3bb3818420f020e8062200207e37cfc7b347e (patch)
tree8ebe6bb19e0e6a3fd96a0131e9a1d0b7e28af007 /.github/devcontainers-action/lib/main.js
parentd10390a141fd4c4b1853af906e5da599610830c5 (diff)
Update generate-docs Action with OCI syntax (#74)
* Update docs with OCI spec changes * reference to version `:1` than `:latest` * nit * sync generate-doc changes * add workflow condition * revert features README changes * address comments
Diffstat (limited to '.github/devcontainers-action/lib/main.js')
-rw-r--r--.github/devcontainers-action/lib/main.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/devcontainers-action/lib/main.js b/.github/devcontainers-action/lib/main.js
index 69506b7..8c20111 100644
--- a/.github/devcontainers-action/lib/main.js
+++ b/.github/devcontainers-action/lib/main.js
@@ -59,6 +59,8 @@ function run() {
};
const featuresBasePath = core.getInput('base-path-to-features');
const templatesBasePath = core.getInput('base-path-to-templates');
+ const ociRegistry = core.getInput('oci-registry');
+ const namespace = core.getInput('features-namespace');
let featuresMetadata = undefined;
let templatesMetadata = undefined;
// -- Package Release Artifacts
@@ -73,7 +75,7 @@ function run() {
// -- Generate Documentation
if (shouldGenerateDocumentation && featuresBasePath) {
core.info('Generating documentation for features...');
- yield (0, generateDocs_1.generateFeaturesDocumentation)(featuresBasePath);
+ yield (0, generateDocs_1.generateFeaturesDocumentation)(featuresBasePath, ociRegistry, namespace);
}
if (shouldGenerateDocumentation && templatesBasePath) {
core.info('Generating documentation for templates...');