ci: switch image registry from Gitea to Harbor
This commit is contained in:
Vendored
+2
-2
@@ -25,7 +25,7 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: docker-config
|
- name: docker-config
|
||||||
secret:
|
secret:
|
||||||
secretName: gitea-registry-cred
|
secretName: harbor-registry-cred
|
||||||
items:
|
items:
|
||||||
- key: .dockerconfigjson
|
- key: .dockerconfigjson
|
||||||
path: config.json
|
path: config.json
|
||||||
@@ -33,7 +33,7 @@ spec:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
environment {
|
environment {
|
||||||
IMAGE = "gitea.led.ectech.co.kr/ledmega/cstest:${env.BUILD_NUMBER}"
|
IMAGE = "harbor.led.ectech.co.kr/cstest/cstest:${env.BUILD_NUMBER}"
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: cstest
|
app: cstest
|
||||||
spec:
|
spec:
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: harbor-registry-cred
|
||||||
containers:
|
containers:
|
||||||
- name: cstest
|
- name: cstest
|
||||||
image: IMAGE_PLACEHOLDER
|
image: IMAGE_PLACEHOLDER
|
||||||
|
|||||||
Reference in New Issue
Block a user