Skip to content

Commit d503689

Browse files
sxdfcanovai
authored andcommitted
chore: renovate custom dagger runner image
Allow renovate to also update the dagger images used for the custom runner. Signed-off-by: Jonathan Gonzalez V. <[email protected]> Signed-off-by: Francesco Canovai <[email protected]>
1 parent 2d5f381 commit d503689

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Taskfile.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,16 @@ tasks:
133133
deps:
134134
- generate-certs
135135
- start-build-network
136-
env:
137-
# TODO: renovate
138-
DAGGER_ENGINE_IMAGE: registry.dagger.io/engine:v0.13.6
136+
vars:
137+
# renovate: datasource=github-tags depName=dagger/dagger versioning=semver
138+
DAGGER_VERSION: 0.13.6
139+
DAGGER_ENGINE_IMAGE: registry.dagger.io/engine:v{{ .DAGGER_VERSION }}
139140
cmds:
140141
- >
141142
docker run -d -v /var/lib/dagger --name "${DAGGER_ENGINE_CONTAINER_NAME}"
142143
--network=${REGISTRY_NETWORK}
143144
-v $(pwd)/certs/ca.pem:/usr/local/share/ca-certificates/ca.crt
144-
--privileged ${DAGGER_ENGINE_IMAGE}
145+
--privileged {{ .DAGGER_ENGINE_IMAGE }}
145146
status:
146147
- \[ "$(docker inspect -f {{`'{{.State.Running}}'`}} "${DAGGER_ENGINE_CONTAINER_NAME}" 2> /dev/null )" == 'true' \]
147148

0 commit comments

Comments
 (0)