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 18, 2024
1 parent 1ddfe16 commit 54c7230
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 54c7230

Please sign in to comment.