diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2019-12-26 12:46:44 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-12-26 12:46:44 +0300 |
commit | c466046bc12a35b9178c0a56e7860d50edf8fc48 (patch) | |
tree | 1e79a63f1f5947ab0ce1fb66af08a6a55b310c0a /.gitlab-ci.yml | |
parent | e9695ea51cad5168c80e802db92479538141140e (diff) |
Docs build images
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 38 |
1 files changed, 25 insertions, 13 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 92fc0eff..759be70d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-docs +image: registry.gitlab.com/gitlab-org/gitlab-docs:gitlab-docs stages: - build-images @@ -326,18 +326,30 @@ pages: # # GitLab docs lint image containing all test tools # -# image:docs-lint: -# <<: *docker_prepare -# stage: pre-deploy -# variables: -# IMAGE_NAME: $CI_REGISTRY_IMAGE:lint -# DOCKERFILE: dockerfiles/Dockerfile.gitlab-docs-lint -# script: -# - docker build -t $IMAGE_NAME -f $DOCKERFILE . -# - docker push $IMAGE_NAME -# only: -# - schedules -# - master +image:docs-lint: + <<: *docker_prepare + <<: *scheduled_infrequent + stage: build-images + variables: + IMAGE_NAME: $CI_REGISTRY_IMAGE:lint + DOCKERFILE: dockerfiles/Dockerfile.gitlab-docs-lint + script: + - docker build -t $IMAGE_NAME -f $DOCKERFILE . + - docker push $IMAGE_NAME + +# +# GitLab docs image +# +image:gitlab-docs: + <<: *docker_prepare + <<: *scheduled_infrequent + stage: build-images + variables: + IMAGE_NAME: $CI_REGISTRY_IMAGE:gitlab-docs + DOCKERFILE: dockerfiles/Dockerfile.gitlab-docs + script: + - docker build -t $IMAGE_NAME -f $DOCKERFILE . + - docker push $IMAGE_NAME # # Helper Docker image containing all build dependencies. |