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
|
||||
switch s.Type {
|
||||
case go_handler.TypeGolang:
|
||||
handler = go_handler.GoApiHandler{
|
||||
handler = go_handler.GoServiceHandler{
|
||||
NameSpace: nameSpace,
|
||||
Name: s.Name,
|
||||
Root: s.Root,
|
||||
|
|
|
@ -26,6 +26,7 @@ steps:
|
|||
repo: reg.icechen.cn/{{ .NameSpace }}/{{ .Name }}
|
||||
registry: reg.icechen.cn
|
||||
tags: ${DRONE_COMMIT:0:8}
|
||||
dockerfile: /app/api/{{ .Name }}/Dockerfile
|
||||
|
||||
- name: run
|
||||
image: docker
|
||||
|
|
Loading…
Reference in New Issue