A container image to run DDEV on any GitLab Runner (hosted/self-hosted).
The Runner can run on the two container engines - Docker and Podman. Both container engines work, but the required configuration is slightly different.
Depending on your setup, you want to pick one of the following example configurations.
- gitlab.com
- Docker (self-hosted)
- Podman (self-hosted)
If you want to extend the image, you'll find the instructions and details below.
Build the image:
./build.sh -v <version, at least major.minor> -pAvailable options:
-v- DDEV version e.g.v1.24.4-l- Load the image (--load)-p- Push the image (--push)-x- Build multi-arch image (--platform linux/amd64,linux/arm64)
| Command | Tags to be created |
|---|---|
./build.sh -v latest |
latest (aka head/nightly) |
./build.sh -v stable |
stable, v1.x, v1.x.y (release) |
./build.sh -v v1.24 |
v1.24, v1.24.x (latest bugfix) |
./build.sh -v v1.24.4 |
v1.24.4 |
./build.sh -v v1.23 |
v1.23, v1.23.x (latest bugfix) |
| ... | ... |
The image is stored on the GitHub Packages Registry.
Note
GITHUB_TOKEN needs additional configuration https://github.com/orgs/community/discussions/26274#discussioncomment-3251137:
Head over to $yourOrganization → Packages → $yourPackage → Package settings (to the right / bottom)
And configure “Manage Actions access” section to allow the git repository in question write permissions on this package/docker repository
DDEV_VERSION=latest bash bats testsMaintained by @ochorocho and @b13