beardyjay.co.uk

My main website source code, uses Hugo.
Log | Files | Refs

commit 5e60739b265ac880d5ca92b189e5cac12959d2a3
parent 283a2aae9c96da118666703195af921bb23e1a1b
Author: Jay Scott <jay@beardyjay.co.uk>
Date:   Wed, 14 Nov 2018 11:09:55 +0000

adding docker container to build

Diffstat:
M.gitlab-ci.yml | 4++--
ADockerfile | 3+++
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -22,7 +22,7 @@ build: - pip install Pygments awscli - hugo - ls -la - # - docker build --pull -t "$CI_REGISTRY_IMAGE" . - # - docker push "$CI_REGISTRY_IMAGE" + - docker build --pull -t "$CI_REGISTRY_IMAGE" . + - docker push "$CI_REGISTRY_IMAGE" only: - master diff --git a/Dockerfile b/Dockerfile @@ -0,0 +1,3 @@ +FROM nginx + +COPY public /usr/share/nginx/html