Initial commit
continuous-integration/drone/tag Build is passing Details

master v0.102.3
René Jochum 2 years ago
commit 475a922167
Signed by: jochum
GPG Key ID: F7D906F5E51E8E5E

@ -0,0 +1,29 @@
---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: amd64
trigger:
event:
- cron
- custom
- tag
steps:
- name: build
image: plugins/docker
settings:
registry: registry.fk.jochum.dev
username: robot$jochum+drone
password:
from_secret: registry.fk.jochum.dev-robot
repo: registry.fk.jochum.dev/jochum/hugo
build_args:
HUGO_VERSION=${DRONE_TAG}
auto_tag: true
tags:
- latest

@ -0,0 +1,11 @@
FROM registry.fk.jochum.dev/docker_hub_cache/library/golang:1.19
ARG HUGO_VERSION
ENV GOPATH=/go
RUN set -ex; \
git clone https://github.com/gohugoio/hugo.git && \
cd hugo && \
git checkout "$HUGO_VERSION" && \
go install --tags extended
Loading…
Cancel
Save