Skip to content

Commit 71a5a3e

Browse files
committed
fix gitops env
1 parent 61a203c commit 71a5a3e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/cd-eks-gitops.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ jobs:
111111
- uses: ./.github/actions/deploy-env
112112
with:
113113
gitops-env: default
114+
target-environment: dev
114115
image-tag: ${{ format('dev-{0}', needs.build-dev.outputs.sha-short) }}
115116
gitops-repo: ${{ github.repository_owner }}/python-angular-project1-gitops
116117
eks-cluster-name: mypythonproject1-dev-eks
@@ -179,7 +180,8 @@ jobs:
179180

180181
- uses: ./.github/actions/deploy-env
181182
with:
182-
gitops-env: ${ inputs.environment }
183+
gitops-env: default
184+
target-environment: staging
183185
image-tag: ${{ format('staging-{0}', needs.build-staging.outputs.sha-short) }}
184186
gitops-repo: ${{ github.repository_owner }}/gitgitops
185187
eks-cluster-name: mypythonproject1-staging-eks
@@ -286,7 +288,8 @@ jobs:
286288

287289
- uses: ./.github/actions/deploy-env
288290
with:
289-
gitops-env: ${{ inputs.environment }}
291+
gitops-env: default
292+
target-environment: prod
290293
image-tag: ${{ github.ref_name }}
291294
gitops-repo: ${{ github.repository_owner }}/python-angular-project1-gitops
292295
eks-cluster-name: mypythonproject1-prod-eks

0 commit comments

Comments
 (0)