fix bug
This commit is contained in:
+1
-7
@@ -1,4 +1,3 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: default
|
||||
type: docker
|
||||
@@ -42,13 +41,11 @@ steps:
|
||||
path: /etc/ssl/certs/ca-certificates.crt
|
||||
- name: docker
|
||||
path: /var/run/docker.sock
|
||||
|
||||
settings:
|
||||
repo: reg.int.it2000.com.cn/cdia/msgexchange-api
|
||||
registry: reg.int.it2000.com.cn
|
||||
insecure: true
|
||||
tags: ["${DRONE_COMMIT_SHA:0:4}", "latest"]
|
||||
# auth: ZmVuZ3poaXFpYW5nOmFkbWluZ3p6bg==
|
||||
username:
|
||||
from_secret: registry_user
|
||||
password:
|
||||
@@ -76,11 +73,8 @@ steps:
|
||||
from_secret: registry_pass
|
||||
when:
|
||||
event: tag
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
host:
|
||||
path: /root/.m2
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user