1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-01-09 19:32:57 -05:00

switch CI to use GitHub Package Registry

This commit is contained in:
2019-10-16 00:17:52 -04:00
parent 81e8c37682
commit 4b6bf833a2
3 changed files with 33 additions and 24 deletions

View File

@@ -1,13 +1,16 @@
# Custom Hugo Extended fork, pre-built on Docker Hub:
# https://hub.docker.com/r/jakejarvis/hugo-custom
# Base Dockerfile source: https://go.jarv.is/hugo-dockerfile
# Custom Hugo Extended fork, pre-built on GitHub Package Registry:
# https://github.com/jakejarvis/hugo-custom/packages
# https://github.com/jakejarvis/hugo-custom/blob/master/Dockerfile
#
# Usage:
# docker build -t jarv.is:develop -f Dockerfile .
# docker run -v $(pwd):/src -p 1313:1313 jarv.is:develop
# docker build -t jarv.is:develop -f Dockerfile .
# docker run -v $(pwd):/src -p 1313:1313 jarv.is:develop
# ...then open http://localhost:1313 for the live-refresh server.
FROM jakejarvis/hugo-custom:latest
FROM docker.pkg.github.com/jakejarvis/hugo-custom/hugo-custom:latest
# verify everything's OK
RUN /usr/bin/hugo version
# add site source as volume
VOLUME /src