From 54c7230d7cb412262f19968716d6428904b3b6ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Mr=C3=A1zek?= Date: Mon, 18 Nov 2024 10:24:28 +0100 Subject: [PATCH] fixup! .gitlab-ci.yml: docker:build at least try to run the image --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 919d80140..e365b2cad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -216,13 +216,14 @@ docker:build: script: - docker buildx build --no-cache -t knot-resolver:${PLATFORM} . - > - docker run --rm -it + docker run --rm --network host - --name knot-resolver-${PLATFORM} + --name kres-${PLATFORM} knot-resolver:${PLATFORM} > knot-resolver.log & - docker ps - - docker exec -it kres-${PLATFORM} kresctl stop + - docker exec kres-${PLATFORM} config get + - docker exec kres-${PLATFORM} kresctl stop after_script: - docker stop kres-${PLATFORM} - docker rm kres-${PLATFORM}