caddy-dns / desec

deSEC module for Caddy
MIT License
14 stars 3 forks source link

go: malformed module path "https:/github.com/caddy-dns/desec": invalid char ':' #3

Closed FarisZR closed 1 year ago

FarisZR commented 1 year ago

I have been trying to add this to caddy and its Failing with this Error

#0 41.87 2023/05/15 23:47:12 [INFO] exec (timeout=0s): /usr/local/go/bin/go get -d -v https://github.com/caddy-dns/desec github.com/caddyserver/caddy/v2@v2.6.4 
#0 42.34 go: malformed module path "https:/github.com/caddy-dns/desec": invalid char ':'
#0 42.34 2023/05/15 23:47:12 [FATAL] exit status 1

dockerfile

FROM caddy:builder AS builder

RUN xcaddy build --with https://github.com/caddy-dns/desec

FROM caddy:latest

COPY --from=builder /usr/bin/caddy /usr/bin/caddy
FarisZR commented 1 year ago

sorry i just noticed, i shouldn't have wrote https://