Skip to content

Commit

Permalink
fixup! .gitlab-ci.yml: docker:build at least try to run the image
Browse files Browse the repository at this point in the history
  • Loading branch information
alesmrazek committed Nov 15, 2024
1 parent ccb37b4 commit 206b50e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,13 @@ docker:build:
script:
- docker buildx build --no-cache -t knot-resolver:${PLATFORM} .
- >
docker run --rm -td
docker run --rm --detach -it
--network host
knot-resolver:${PLATFORM}
- docker exec kres-${PLATFORM} kresctl stop
- >
docker exec -it
$(docker ps --latest --quiet --filter ancestor=knot-resolver:${PLATFORM})
kresctl stop
after_script:
- docker rmi knot-resolver:${PLATFORM}
- docker rmi $(docker images -f "dangling=true" -q)
Expand Down

0 comments on commit 206b50e

Please sign in to comment.