diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2020-02-25 11:06:49 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2020-02-25 11:09:26 +0300 |
commit | 031c82e79e7dea2a5aafb0acabea74a6d8b45f52 (patch) | |
tree | 27b3e1107acb082c53d429db69c916144466e9e8 /.gitlab-ci.yml | |
parent | 96318f6ede4918ce6feee4c9d3e30e6bac63c2ae (diff) |
Add environments to all static Docker jobs
This way, we can navigate to the environments page and see
when the images were last built.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 38cf0ea1..f217ecf2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -337,6 +337,8 @@ image:docs-lint: - docker build --build-arg CI_COMMIT_REF_NAME=${CI_COMMIT_REF_NAME} -t $IMAGE_NAME -f $DOCKERFILE . - docker push $IMAGE_NAME when: manual + environment: + name: registry/docs-lint # # GitLab docs image @@ -351,6 +353,8 @@ image:gitlab-docs-base: - docker build -t $IMAGE_NAME -f $DOCKERFILE . - docker push $IMAGE_NAME when: manual + environment: + name: registry/docs-base # # Helper Docker image containing all build dependencies. @@ -370,6 +374,8 @@ image:bootstrap: - master changes: - "Gemfile*" + environment: + name: registry/docs-bootstrap # # Helper Docker image that builds the gitlab-docs website @@ -384,6 +390,8 @@ image:builder-onbuild: - docker build -t $IMAGE_NAME -f $DOCKERFILE . - docker push $IMAGE_NAME when: manual + environment: + name: registry/builder-onbuild <<: *except_stable # @@ -400,6 +408,8 @@ image:nginx-onbuild: - docker build -t $IMAGE_NAME -f $DOCKERFILE . - docker push $IMAGE_NAME when: manual + environment: + name: registry/nginx-onbuild <<: *except_stable # |