pass env args to helm
This commit is contained in:
@@ -18,6 +18,11 @@ on:
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
helmfile_env:
|
||||
description: "Optional JSON object string of environment variables for Helmfile"
|
||||
required: false
|
||||
default: "{}"
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
detect-service-type:
|
||||
@@ -93,11 +98,12 @@ jobs:
|
||||
uses: helmfile/helmfile-action@02671705b1dda1dc4b0a4ddd4f9f1ea8f4568c6f # v2.4.3
|
||||
with:
|
||||
helmfile-args: diff
|
||||
env: ${{ fromJSON(inputs.helmfile_env) }}
|
||||
|
||||
# Summary job that always runs to show what was validated
|
||||
ci-summary:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [ detect-service-type, validate-k8s, validate-helm ]
|
||||
needs: [detect-service-type, validate-k8s, validate-helm]
|
||||
if: always()
|
||||
steps:
|
||||
- name: CI Summary
|
||||
|
||||
Reference in New Issue
Block a user