doc: Update Docker CI instructions

This commit is contained in:
Nick Wellnhofer 2024-03-22 18:12:25 +01:00
parent e7ff3ca43f
commit 3d6a25e530

View File

@ -105,10 +105,13 @@ The following changes are allowed (after careful consideration):
## Updating the CI Docker image
Note that the CI image is used for libxslt as well. Run the following
commands with the Dockerfile in the .gitlab-ci directory:
Note that the CI image is used for libxslt as well. First create a
GitLab access token with `read_registry` and `write_registry`
permissions. Then run the following commands with the Dockerfile in the
.gitlab-ci directory:
docker login registry.gitlab.gnome.org
docker login -u <username> -p <access_token> \
registry.gitlab.gnome.org
docker build -t registry.gitlab.gnome.org/gnome/libxml2 - \
< .gitlab-ci/Dockerfile
docker push registry.gitlab.gnome.org/gnome/libxml2