gitlab-ci: Use prebuilt containers

This image has all build dependencies to speed up build and tests.
Copied from
phosh (d8b2e5651b)
with minor modifications for Calls.

Use

 .gitlab-ci/run-docker.sh --base debian build --version 0.0.<date>
 .gitlab-ci/run-docker.sh --base debian push --version 0.0.<date>

to update.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-12-21 12:27:10 +01:00
parent c12b7a8c69
commit a21fded449
3 changed files with 159 additions and 0 deletions

12
.gitlab-ci/README.md Normal file
View File

@@ -0,0 +1,12 @@
### Checklist for Updating the Docker Images
- [ ] Update the `${image}.Dockerfile` file with the dependencies
- [ ] Run `./run-docker.sh build --base ${image} --version ${number}`
- [ ] Run `./run-docker.sh push --base ${image} --version ${number}`
once the Docker image is built; you may need to log in by using
`docker login` or `podman login` like
podman login -u <user> -p <token> registry.gitlab.gnome.org/world/phosh/phosh
See https://docs.gitlab.com/ee/user/packages/container_registry/
- [ ] Update the `image` keys in the `.gitlab-ci.yml` file with the new
image tag
- [ ] Open a merge request with your changes and let it run