File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
infra/kubernetes/production Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ jobs:
125125 kubectl get namespace $ENVIRONMENT || kubectl create namespace $ENVIRONMENT
126126
127127 IMAGE_TAG=${{ env.NEW_VERSION }}
128- kustomize edit set image app/tc-order-service=${{ needs.build.outputs. ECR_REGISTRY }}/${{ env. ECR_REPOSITORY }} :${{ env.NEW_VERSION }}
128+ kustomize edit set image app/tc-order-service=$ECR_REGISTRY/$ ECR_REPOSITORY:${{ env.NEW_VERSION }}
129129
130130 echo "Deploying $SERVICE_NAME in $ENVIRONMENT environment"
131131 echo "Using image version: ${{ env.NEW_VERSION }}"
Original file line number Diff line number Diff line change @@ -4,18 +4,18 @@ kind: Kustomization
44namespace : production
55
66resources :
7- - ../base
8- - namespace.yaml
7+ - ../base
8+ - namespace.yaml
99
1010patches :
11- - path : patch-deployment.yaml
12- target :
13- kind : Deployment
14- - path : order-service-config.yaml
15- target :
16- kind : ConfigMap
11+ - path : patch-deployment.yaml
12+ target :
13+ kind : Deployment
14+ - path : order-service-config.yaml
15+ target :
16+ kind : ConfigMap
1717
1818images :
19- - name : app/tc-order-service
20- newName : 147671223315.dkr.ecr.us-east-1.amazonaws.com/app/tc-order-service
21- newTag : 93aa24524f637335a3e7de8d5cbc24406e8f7b8b-dev
19+ - name : app/tc-order-service
20+ newName : 147671223315.dkr.ecr.us-east-1.amazonaws.com/app/tc-order-service
21+ newTag : v0.4.0
You can’t perform that action at this time.
0 commit comments