Skip to content

Commit

Permalink
use docker image from ghcr (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand authored Nov 26, 2023
1 parent 333bdfe commit 1557fb7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/docker/compare_output_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@ REF="test/data/reference-output/"
OBS="cmake-build-debug/test/output/"
DRIVER="firefox"

docker build --tag odr_core_test test/docker
docker run -ti -v $(pwd):/repo -p 5000:5000 odr_core_test python3 /repo/test/scripts/compare_output_server.py /repo/$REF /repo/$OBS --compare --driver $DRIVER
# manually build the image
#docker build --tag odr_core_test test/docker

docker run -ti \
-v $(pwd):/repo \
-p 5000:5000 \
ghcr.io/opendocument-app/odr_core_test:sha-f9aab98 \
python3 /repo/test/scripts/compare_output_server.py /repo/$REF /repo/$OBS --compare --driver $DRIVER

0 comments on commit 1557fb7

Please sign in to comment.