chore: renovate custom dagger runner image (#65)

Allow renovate to also update the dagger images used for the custom
runner.

Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
This commit is contained in:
Jonathan Gonzalez V. 2024-12-06 16:42:43 +01:00 committed by GitHub
parent 2d5f38130b
commit ab98fdac2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -133,15 +133,16 @@ tasks:
deps:
- generate-certs
- start-build-network
env:
# TODO: renovate
DAGGER_ENGINE_IMAGE: registry.dagger.io/engine:v0.13.6
vars:
# renovate: datasource=github-tags depName=dagger/dagger versioning=semver
DAGGER_VERSION: 0.13.6
DAGGER_ENGINE_IMAGE: registry.dagger.io/engine:v{{ .DAGGER_VERSION }}
cmds:
- >
docker run -d -v /var/lib/dagger --name "${DAGGER_ENGINE_CONTAINER_NAME}"
--network=${REGISTRY_NETWORK}
-v $(pwd)/certs/ca.pem:/usr/local/share/ca-certificates/ca.crt
--privileged ${DAGGER_ENGINE_IMAGE}
--privileged {{ .DAGGER_ENGINE_IMAGE }}
status:
- \[ "$(docker inspect -f {{`'{{.State.Running}}'`}} "${DAGGER_ENGINE_CONTAINER_NAME}" 2> /dev/null )" == 'true' \]