From ce5cd1646e707ee9ecc00f40acbc1edc313a4e62 Mon Sep 17 00:00:00 2001 From: Paul Carlton Date: Tue, 4 Oct 2022 13:56:53 +0100 Subject: [PATCH] add dependencies --- README.md | 1 + action.yml | 6 +++++- src/entrypoint.sh | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4526bfc..ece8024 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ Inputs: * `chart_version` Explicitly specify chart version in package. If not defined then used chart values. * `index_dir` The location of `index.yaml` file in the repo, defaults to the same value as `target_dir` * `enterprise_url` The URL of enterprise github server in the format `/` +* `dependencies` A list of helm repositories required to verify dependencies in the format `,;,` ## Examples diff --git a/action.yml b/action.yml index e8209e9..807bc23 100644 --- a/action.yml +++ b/action.yml @@ -51,7 +51,10 @@ inputs: required: false enterprise_url: description: "The URL of enterprise github server in the format '/'" - required: false + required: false + dependencies: + description: "A list of helm repositories required to verify dependencies in the format ',;,'" + required: false runs: using: 'docker' image: 'Dockerfile' @@ -71,3 +74,4 @@ runs: - ${{ inputs.chart_version }} - ${{ inputs.index_dir }} - ${{ inputs.enterprise_url }} + - ${{ inputs.dependencies }} diff --git a/src/entrypoint.sh b/src/entrypoint.sh index 133a6e1..6569a07 100644 --- a/src/entrypoint.sh +++ b/src/entrypoint.sh @@ -95,7 +95,7 @@ main() { locate download - get_repo + get_dependencies dependencies if [[ "$LINTING" != "off" ]]; then lint