Skip to content

Commit

Permalink
fixup! 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 54c7230 commit 86dd529
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,23 +216,13 @@ docker:build:
script:
- docker buildx build --no-cache -t knot-resolver:${PLATFORM} .
- >
docker run --rm
docker run --rm -itd
--network host
--name kres-${PLATFORM}
knot-resolver:${PLATFORM}
> knot-resolver.log &
- docker ps
- docker exec kres-${PLATFORM} config get
- docker exec kres-${PLATFORM} kresctl stop
- docker ps -a
after_script:
- docker stop kres-${PLATFORM}
- docker rm kres-${PLATFORM}
- docker rmi knot-resolver:${PLATFORM}
- docker rmi --force knot-resolver:${PLATFORM}
- docker rmi $(docker images -f "dangling=true" -q)
artifacts:
when: always
paths:
- knot-resolver.log
tags:
- ${PLATFORM}
- dind
Expand Down

0 comments on commit 86dd529

Please sign in to comment.