fix HasPrefix
continuous-integration/drone/push Build is passing Details

master
icechen 2021-12-29 21:26:54 +08:00
parent 20ac68ba45
commit 8bb68ce7ed
2 changed files with 2 additions and 1 deletions

View File

@ -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,

View File

@ -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