ci修复
This commit is contained in:
@@ -60,9 +60,8 @@ deploy_live:
|
|||||||
url: https://cms.fjy8018.xin
|
url: https://cms.fjy8018.xin
|
||||||
script:
|
script:
|
||||||
- kubectl version
|
- kubectl version
|
||||||
- kubectl get pods -n hmdt
|
- kubectl get pods -n cms
|
||||||
- cd manifests/
|
- cd manifests/
|
||||||
- sed -i "s/__IMAGE_VERSION_SLUG__/${IMAGE_VERSION}/" deployment.yaml
|
- sed -i "s/__IMAGE_VERSION_SLUG__/${IMAGE_VERSION}/" deployment.yaml
|
||||||
- sed -i "s/__IMAGE_SLUG__/${CI_REGISTRY_IMAGE}/" deployment.yaml
|
|
||||||
- kubectl apply -f deployment.yaml
|
- kubectl apply -f deployment.yaml
|
||||||
- kubectl get pods -n hmdt
|
- kubectl get pods -n cms
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ spec:
|
|||||||
- name: harbor-login
|
- name: harbor-login
|
||||||
containers:
|
containers:
|
||||||
- name: cms
|
- name: cms
|
||||||
image: __IMAGE_SLUG__:__IMAGE_VERSION_SLUG__
|
image: harbor.fjy8018.top:8883/fjy8018/cms:__IMAGE_VERSION_SLUG__
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user