Skip to content

Commit

Permalink
CI: test build from source
Browse files Browse the repository at this point in the history
  • Loading branch information
tom93 committed Jul 21, 2024
1 parent 6043349 commit 1ca042d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ echo "[ok] DOMjudge version ${VERSION} downloaded as domjudge.tar.gz"; echo
section_end
fi

cd .. && tar c --exclude=./.git . | docker build -t domserver -f docker/domserver/Dockerfile.source -
exit 0

if [ "${BUILD_FROM_SOURCE-1}" != 0 ]; then
echo "[..] Boostrapping..."
tar c -C .. --exclude=./.git --exclude="./docker/*.tar.gz" . |
Expand Down

0 comments on commit 1ca042d

Please sign in to comment.