Refactored registry url and kubernetes secret
This commit is contained in:
@@ -11,8 +11,6 @@ steps:
|
||||
- name: git clone
|
||||
image: drone/git
|
||||
commands:
|
||||
# - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git .
|
||||
# - git clone http://gitea-server.gitea.svc.cluster.local/mngomalab/sampleapi.git .
|
||||
- git clone http://gitea-server.gitea.svc.cluster.local:3000/mngomalab/sampleapi.git .
|
||||
- git checkout $DRONE_COMMIT
|
||||
|
||||
@@ -66,7 +64,7 @@ steps:
|
||||
- name: docker build and push
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: registry.registry.svc.cluster.local:5000/experiments/sampleapi
|
||||
repo: registry-server.registry.svc.cluster.local:5000/experiments/sampleapi
|
||||
auto_tag: true
|
||||
username:
|
||||
from_secret: registry-username
|
||||
@@ -103,4 +101,4 @@ steps:
|
||||
from_secret: kube_ca_cert
|
||||
server: https://lead:6443
|
||||
token:
|
||||
from_secret: k3s_token
|
||||
from_secret: k8s-token
|
||||
|
||||
Reference in New Issue
Block a user