setup drone
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
fdfec5a419
commit
2d4791e1b3
|
@ -0,0 +1,25 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: docker:dind
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run
|
||||||
|
commands:
|
||||||
|
- docker build .
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: docker
|
||||||
|
image: docker:dind
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
temp: {}
|
|
@ -114,7 +114,8 @@ func (mi *Mi) StreamMastodonToTwitter(ctx context.Context) {
|
||||||
var ns NewStatus
|
var ns NewStatus
|
||||||
err := json.Unmarshal(data, &ns)
|
err := json.Unmarshal(data, &ns)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ln.FatalErr(ctx, err)
|
ln.Error(ctx, err)
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if ns.NewVal == nil {
|
if ns.NewVal == nil {
|
||||||
|
|
Loading…
Reference in New Issue