fix HasPrefix
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
20ac68ba45
commit
8bb68ce7ed
|
@ -49,7 +49,7 @@ func (s Service) toDestinationConfig(nameSpace string) (string, error) {
|
||||||
var handler Handler
|
var handler Handler
|
||||||
switch s.Type {
|
switch s.Type {
|
||||||
case go_handler.TypeGolang:
|
case go_handler.TypeGolang:
|
||||||
handler = go_handler.GoApiHandler{
|
handler = go_handler.GoServiceHandler{
|
||||||
NameSpace: nameSpace,
|
NameSpace: nameSpace,
|
||||||
Name: s.Name,
|
Name: s.Name,
|
||||||
Root: s.Root,
|
Root: s.Root,
|
||||||
|
|
|
@ -26,6 +26,7 @@ steps:
|
||||||
repo: reg.icechen.cn/{{ .NameSpace }}/{{ .Name }}
|
repo: reg.icechen.cn/{{ .NameSpace }}/{{ .Name }}
|
||||||
registry: reg.icechen.cn
|
registry: reg.icechen.cn
|
||||||
tags: ${DRONE_COMMIT:0:8}
|
tags: ${DRONE_COMMIT:0:8}
|
||||||
|
dockerfile: /app/api/{{ .Name }}/Dockerfile
|
||||||
|
|
||||||
- name: run
|
- name: run
|
||||||
image: docker
|
image: docker
|
||||||
|
|
Loading…
Reference in New Issue