This commit is contained in:
zhiqiang feng
2023-12-18 11:26:32 +08:00
parent 1aa4a8c263
commit b3c6e56eb4
+1 -7
View File
@@ -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