add deployment tag path and reademes

This commit is contained in:
2026-05-29 11:57:55 -04:00
parent 7c5ce471bd
commit e8dfe952ff
13 changed files with 68 additions and 3 deletions
+4 -1
View File
@@ -22,6 +22,9 @@ inputs:
CHART_PATH:
description: "Path to the Helm chart"
default: "./helm"
TAG_KEY:
description: "Helm --set key for the image tag (e.g. deploy.api.tag)"
required: true
runs:
using: composite
@@ -33,6 +36,6 @@ runs:
- name: Helm Diff
shell: sh
run: |
CMD="helm diff upgrade ${{ inputs.DEPLOYMENT_NAME }} ${{ inputs.CHART_PATH }} -n ${{ inputs.DEPLOYMENT_NAMESPACE }} --values ${{ inputs.VALUES_FILE }} --set deploy.${{ inputs.CONTAINER_NAME }}.tag=${{ inputs.IMAGE_TAG }} --set image.repository=${{ inputs.IMAGE_PATH }} --context 5"
CMD="helm diff upgrade ${{ inputs.DEPLOYMENT_NAME }} ${{ inputs.CHART_PATH }} -n ${{ inputs.DEPLOYMENT_NAMESPACE }} --values ${{ inputs.VALUES_FILE }} --set ${TAG_KEY}=${{ inputs.IMAGE_TAG }} --set image.repository=${{ inputs.IMAGE_PATH }} --context 5"
echo "Running: $CMD"
eval "$CMD"