Skip to content

Commit 1d79c40

Browse files
committed
fix gitops env
1 parent 71a5a3e commit 1d79c40

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/actions/deploy-env/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ inputs:
2626
gitops-repo:
2727
description: "Owner/name of the GitOps repository"
2828
required: true
29+
target-environment:
30+
description: "EKs env"
31+
required: true
2932

3033
# ── K8s / AWS ─────────────────────────────────────────────────────────────
3134
eks-cluster-name:
@@ -114,7 +117,7 @@ runs:
114117
run: |
115118
docker run --rm --user root -v "$PWD/_gitops:/gitops" mikefarah/yq:4 \
116119
e '.backend.image.tag = "${{ inputs.image-tag }}" | .frontend.image.tag = "${{ inputs.image-tag }}"' \
117-
-i /gitops/environments/${{ inputs.gitops-env }}/values.yaml
120+
-i /gitops/environments/${{ inputs.target-environment }}/values.yaml
118121
119122
- name: "Commit & push GitOps change"
120123
shell: bash

0 commit comments

Comments
 (0)