diff --git a/drone-hugo/Dockerfile b/drone-hugo/Dockerfile new file mode 100644 index 0000000..d913314 --- /dev/null +++ b/drone-hugo/Dockerfile @@ -0,0 +1,7 @@ +# GitHub: https://github.com/gohugoio +# Twitter: https://twitter.com/gohugoio +# Website: https://gohugo.io/ + +FROM golang:latest AS build + +RUN go install -tags extended github.com/gohugoio/hugo@latest diff --git a/drone-hugo/build.sh b/drone-hugo/build.sh new file mode 100644 index 0000000..b410380 --- /dev/null +++ b/drone-hugo/build.sh @@ -0,0 +1,4 @@ +#! /bin/bash + +docker build -t code.ndumas.com/ndumas/drone-hugo:latest . +docker push code.ndumas.com/ndumas/drone-hugo:latest