mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
ci: Automate container building in Gitlab
This removes the need to manually build and push out the Docker images for the build. This step is now in GitLab CI itself.
This commit is contained in:
parent
3f89911f1d
commit
8f1b840979
3 changed files with 46 additions and 64 deletions
30
doc/ci.md
30
doc/ci.md
|
|
@ -1,30 +0,0 @@
|
|||
# Continuous Integration
|
||||
|
||||
Our CI runs on the `gitlab.freedesktop.org` infrastructure. Steps can be found
|
||||
in the top-level `gitlab-ci.yml` file.
|
||||
|
||||
The current build happens on an x86_64, Fedora 31 image. This should be
|
||||
extended to other distrubtions and architectures over time.
|
||||
|
||||
## fd.o Registry
|
||||
|
||||
The Docker image used for the build process comes from the
|
||||
`registry.freedesktop.org` container registry. Images are currently manually
|
||||
generate and pushed using the top-level `Dockerfile` and the following steps.
|
||||
The assumption is that you are using `podman` as a `docker` alternative. The
|
||||
corresponding `docker` command should be easy to find.
|
||||
|
||||
```sh
|
||||
$ cd <pipewire-top-level-direcory>
|
||||
|
||||
# Build the image
|
||||
$ podman build --format=docker -t registry.freedesktop.org/pipewire/pipewire/fedora:31 .
|
||||
|
||||
# This is usually only needed once. You will be prompted for your fd.o
|
||||
# username, and the password is a personal access token that you must generate
|
||||
# in the gitlab.fd.o user settings.
|
||||
$ podman login
|
||||
|
||||
# Upload the image
|
||||
$ podman push registry.freedesktop.org/pipewire/pipewire/fedora:31
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue