fix(ci): Use pre-built docker images
In this change we modify the CI pipeline to use pre-built Docker images for both build and deploy stages. To this end, we create `docker/{build-env,deploy-env}`, two directories containing Dockerfiles describing how to build those images, and scripts to push them to a Docker registry. Currently, docker.card10.badge.events.ccc.de seems broken. Thus, we push to the Warsaw Hackerspace Docker registry. Since the Docker images will be pulled rarely anyway (as they are cached by build nodes), any low bandwidth-caused slowdowns will not be usually end up in the CI critical path. We also bump `.gitlab-ci.yml` to point to those new images.
Showing
- .gitlab-ci.yml 4 additions, 12 deletions.gitlab-ci.yml
- docker/build-env/Dockerfile 14 additions, 0 deletionsdocker/build-env/Dockerfile
- docker/build-env/push.sh 17 additions, 0 deletionsdocker/build-env/push.sh
- docker/deploy-env/Dockerfile 17 additions, 0 deletionsdocker/deploy-env/Dockerfile
- docker/deploy-env/push.sh 17 additions, 0 deletionsdocker/deploy-env/push.sh
docker/build-env/Dockerfile
0 → 100644
docker/build-env/push.sh
0 → 100755
docker/deploy-env/Dockerfile
0 → 100644
docker/deploy-env/push.sh
0 → 100755
Please register or sign in to comment