adding drone-hugo dockerfile for CI/CD
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…
Reference in New Issue