fix: add host
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
f2b6573ff1
commit
8a218d07cb
|
@ -76,6 +76,10 @@ func (p *plugin) Find(ctx context.Context, req *config.Request) (*drone.Config,
|
|||
return nil, err
|
||||
}
|
||||
|
||||
if len(modifiedApiList) == 0 && len(modifiedServiceList) == 0 {
|
||||
// 返回 nil 按照 204 处理
|
||||
return nil, nil
|
||||
}
|
||||
retData := destinationApi + "\n\n" + destinationService
|
||||
n := strings.LastIndex(retData, "---")
|
||||
if n > 0 {
|
||||
|
|
|
@ -39,4 +39,6 @@ steps:
|
|||
- image=reg.icechen.cn/{{ .NameSpace }}/api-{{ .Name }}
|
||||
- imageTag=${DRONE_TAG}
|
||||
- port={{ .Port }}
|
||||
- host=t{{ .Host }}
|
||||
- path={{ .Path }}
|
||||
`
|
||||
|
|
|
@ -39,4 +39,6 @@ steps:
|
|||
- image=reg.icechen.cn/{{ .NameSpace }}/api-{{ .Name }}
|
||||
- imageTag=${DRONE_COMMIT:0:8}
|
||||
- port={{ .Port }}
|
||||
- host=t{{ .Host }}
|
||||
- path={{ .Path }}
|
||||
`
|
||||
|
|
Loading…
Reference in New Issue