mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 16:38:43 +02:00
The dockerd instance on some (but not all) GitLab CI runners doesn’t like the OCI output from the version of podman on Fedora 31, which is causing a lot of spurious CI failures. If whoever’s running `run-docker.sh` is using podman to emulate docker, it needs to be told to output in Docker format, not OCI format. Signed-off-by: Philip Withnall <withnall@endlessm.com>
CI support stuff
Docker image
GitLab CI jobs run in a Docker image, defined here. To update that image (perhaps to install some more packages):
- Edit
.gitlab-ci/Dockerfilewith the changes you want - Run
.gitlab-ci/run-docker.sh build --base=debian-stable --base-version=1to build the new image (bump the version from the latest listed for thatbaseon https://gitlab.gnome.org/GNOME/glib/container_registry) - Run
.gitlab-ci/run-docker.sh push --base=debian-stable --base-version=1to upload the new image to the GNOME GitLab Docker registry- If this is the first time you're doing this, you'll need to log into the registry
- If you use 2-factor authentication on your GNOME GitLab account, you'll need to create a personal access token and use that rather than your normal password
- Edit
.gitlab-ci.yml(in the root of this repository) to use your new image