adding drone-hugo dockerfile for CI/CD

main
Nick Dumas 2 years ago
parent fa0bddd5c5
commit 1fc8719cf3

@ -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

@ -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
Loading…
Cancel
Save