pass env args to helm

This commit is contained in:
2026-04-29 17:24:23 +02:00
parent feb33eb0dc
commit e01287d52c
2 changed files with 13 additions and 1 deletions
+6
View File
@@ -23,6 +23,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:
@@ -119,6 +124,7 @@ jobs:
uses: helmfile/helmfile-action@02671705b1dda1dc4b0a4ddd4f9f1ea8f4568c6f # v2.4.3
with:
helmfile-args: apply
env: ${{ fromJSON(inputs.helmfile_env) }}
# Summary job that always runs to show what was deployed
deployment-summary: