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 ff6f067 commit 25682b1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,14 +216,13 @@ docker:build:
script:
- docker buildx build --no-cache -t knot-resolver:${PLATFORM} .
- >
docker run --rm -td
docker run --rm
--network host
--name kres-${PLATFORM}
knot-resolver:${PLATFORM}
.
- sleep 15s
- docker exec -t kres-${PLATFORM} kresctl config get
- docker exec -t kres-${PLATFORM} kresctl stop
- docker exec kres-${PLATFORM} kresctl stop
after_script:
- docker rmi knot-resolver:${PLATFORM}
- docker rmi $(docker images -f "dangling=true" -q)
Expand Down

0 comments on commit 25682b1

Please sign in to comment.