File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,25 +58,25 @@ jobs:
5858 id : api-image-update
5959 uses : mikefarah/yq@master
6060 with :
61- cmd : yq eval '.spec.template.spec.containers[0].image = "image-registry.apps.silver.devops.gov.bc.ca/a5cf88-tools/alcs-api:${{ github.sha }}"' -i namespaces/dev /images-api_patch.yaml
61+ cmd : yq eval '.spec.template.spec.containers[0].image = "image-registry.apps.silver.devops.gov.bc.ca/a5cf88-tools/alcs-api:${{ github.sha }}"' -i namespaces/${{ inputs.environment }} /images-api_patch.yaml
6262
6363 - name : Update Migrate Image
6464 id : migrate-image-update
6565 uses : mikefarah/yq@master
6666 with :
67- cmd : yq eval '.spec.template.spec.containers[0].image = "image-registry.apps.silver.devops.gov.bc.ca/a5cf88-tools/alcs-migrate:${{ github.sha }}"' -i namespaces/dev /images-migrate_patch.yaml
67+ cmd : yq eval '.spec.template.spec.containers[0].image = "image-registry.apps.silver.devops.gov.bc.ca/a5cf88-tools/alcs-migrate:${{ github.sha }}"' -i namespaces/${{ inputs.environment }} /images-migrate_patch.yaml
6868
6969 - name : Update ALCS Frontend Image
7070 id : fe-image-update
7171 uses : mikefarah/yq@master
7272 with :
73- cmd : yq eval '.spec.template.spec.containers[0].image = "image-registry.apps.silver.devops.gov.bc.ca/a5cf88-tools/alcs-frontend:${{ github.sha }}"' -i namespaces/dev /images-alcs_patch.yaml
73+ cmd : yq eval '.spec.template.spec.containers[0].image = "image-registry.apps.silver.devops.gov.bc.ca/a5cf88-tools/alcs-frontend:${{ github.sha }}"' -i namespaces/${{ inputs.environment }} /images-alcs_patch.yaml
7474
7575 - name : Update Portal Frontend Image
7676 id : portal-fe-image-update
7777 uses : mikefarah/yq@master
7878 with :
79- cmd : yq eval '.spec.template.spec.containers[0].image = "image-registry.apps.silver.devops.gov.bc.ca/a5cf88-tools/alcs-portal-frontend:${{ github.sha }}"' -i namespaces/dev /images-portal_patch.yaml
79+ cmd : yq eval '.spec.template.spec.containers[0].image = "image-registry.apps.silver.devops.gov.bc.ca/a5cf88-tools/alcs-portal-frontend:${{ github.sha }}"' -i namespaces/${{ inputs.environment }} /images-portal_patch.yaml
8080
8181 - name : Commit and push update
8282 run : |
You can’t perform that action at this time.
0 commit comments