diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9068e7bde4f0b10b9fd55c6f362861ab2738da22..75b08e7861df7ec522da5dad9973aa7a037dd63b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -72,3 +72,20 @@ push-docker: needs: - job: build-docker artifacts: true + +# hugo image: + +build-hugo: + extends: .container-build + variables: + CONTEXT: images/hugo + +push-hugo: + extends: .container-push + variables: + CONTEXT: images/hugo + IMAGE: ci-images + TAG: hugo + needs: + - job: build-hugo + artifacts: true diff --git a/images/hugo/.dockerignore b/images/hugo/.dockerignore new file mode 100644 index 0000000000000000000000000000000000000000..72e8ffc0db8aad71a934dd11e5968bd5109e54b4 --- /dev/null +++ b/images/hugo/.dockerignore @@ -0,0 +1 @@ +* diff --git a/images/hugo/Dockerfile b/images/hugo/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..31adcb10f595de1e01c6ceb8ad729ae84389126c --- /dev/null +++ b/images/hugo/Dockerfile @@ -0,0 +1,4 @@ +FROM registry.hub.docker.com/library/alpine:3.14 +# hadolint ignore=DL3018 +RUN apk add --no-cache --update hugo && \ + hugo version