update
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
9d2f9d6c32
commit
6648d69196
|
@ -64,9 +64,11 @@ func (p *plugin) Find(ctx context.Context, req *config.Request) (*drone.Config,
|
|||
return nil, err
|
||||
}
|
||||
|
||||
retData := destinationApi + "\n\n" + destinationService
|
||||
logrus.Info(retData)
|
||||
// 5. 组装所有ci信息并输出
|
||||
return &drone.Config{
|
||||
Data: destinationApi + "\n\n" + destinationService,
|
||||
Data: retData,
|
||||
Kind: "pipeline",
|
||||
}, nil
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ steps:
|
|||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker rm -f {{ .NameSpace }}-{{ .Name }}
|
||||
- docker run -d --name="{{ .NameSpace }}-{{ .Name }}" reg.icechen.cn/{{ .NameSpace }}/{{ .Name }}:${DRONE_COMMIT:0:8}
|
||||
- docker run -d --name="{{ .NameSpace }}-{{ .Name }}" --network="nginx-net" reg.icechen.cn/{{ .NameSpace }}/{{ .Name }}:${DRONE_COMMIT:0:8}
|
||||
|
||||
volumes:
|
||||
- name: docker
|
||||
|
|
Loading…
Reference in New Issue