update
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
bb0aa05d0b
commit
7074461935
|
@ -24,7 +24,7 @@ steps:
|
|||
- name: docker
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker rm -f {{ .NameSpace }}-api-{{ .Name }}
|
||||
- docker rm -f {{ .NameSpace }}-service-{{ .Name }}
|
||||
- docker run -d --name="{{ .NameSpace }}-service-{{ .Name }}" --network="nginx-net"{{ range $key, $value := .ServiceEnv }} --env {{ $key }}={{ $value }} {{ end }}reg.icechen.cn/{{ .NameSpace }}/service-{{ .Name }}:${DRONE_COMMIT:0:8}
|
||||
|
||||
volumes:
|
||||
|
|
|
@ -24,7 +24,7 @@ steps:
|
|||
- name: docker
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker rm -f {{ .NameSpace }}-api-{{ .Name }}
|
||||
- docker rm -f {{ .NameSpace }}-service-{{ .Name }}
|
||||
- docker run -d --name="{{ .NameSpace }}-service-{{ .Name }}" --network="nginx-net"{{ range $key, $value := .ServiceEnv }} --env {{ $key }}={{ $value }} {{ end }}reg.icechen.cn/{{ .NameSpace }}/service-{{ .Name }}:${DRONE_COMMIT:0:8}
|
||||
|
||||
volumes:
|
||||
|
|
Loading…
Reference in New Issue