should build now
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jeffrey Paul 2020-09-08 18:19:03 -07:00
parent 209391c963
commit e13c6c6697
2 changed files with 8 additions and 1 deletions

View File

@ -18,6 +18,6 @@ WORKDIR /build
RUN make build
FROM scratch
COPY --from=builder /build/main /app/
COPY --from=builder /build/sco /app/main
WORKDIR /app
CMD ["./main"]

View File

@ -11,6 +11,13 @@ func main() {
b.BotName = "LSV Serious Callers Only"
b.Version = Version
b.Buildarch = Buildarch
b.APIURL = os.Getenv("SCO_API_URL")
b.WebsocketURL = os.Getenv("SCO_WEBSOCKET_URL")
b.DebuggingChannelName = os.Getenv("SCO_DEBUG_CHANNEL")
b.AccountEmail = os.Getenv("SCO_ACCOUNT_EMAIL")
b.AccountPassword = os.Getenv("SCO_ACCOUNT_PASSWORD")
b.AccountFirstname = "LSV"
b.AccountLastname = "Serious Callers Only"
})
os.Exit(mybot.Main())
}