Skip to content

[feat] Build/push docker (see platform#8755).

micah requested to merge micah/soledad:feat/dind into master

When the testing/docker directory is changed, the build_docker_image CI job is triggered to build the docker image and push it to the soledad container registry.

This is part of an effort to move all the docker images into their own project's container registry, and to build/provide them automatically (see platform#8755 (closed)).

This is accomplished by the following:

  • added the necessary overlay DOCKER_DRIVER variable to .gitlab-ci.yml
  • added a build_docker_image job with docker:dind service enabled
  • enabled container registry in soledad project
  • added LEAP_CODE_O_MATIC_PRIVATE_TOKEN to project
  • moved docker image from scripts:docker/soledad to soledad:testing/docker
  • docker push gitlab-buildpackage:soledad to soledad container registry
  • removed gitlab-buildpackage:soledad image and scripts/docker/soledad
  • changed image in .gitlab-ci.yml to use new location

Note: until https://gitlab.com/gitlab-org/gitlab-ce/issues/19813 is resolved, we have to use this method.

Merge request reports

Loading