File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed
Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 4848 with :
4949 images : ghcr.io/${{ github.repository }}
5050
51+ - name : Building an example chroot...
52+ run : |
53+ wget https://github.com/DOMjudge/domjudge/archive/refs/heads/main.zip
54+ unzip main.zip
55+ cd domjudge-main
56+ make configure
57+ ./configure --with-domjudge-user=domjudge --with-judgehost_chrootdir="$(pwd)/chroot"
58+ cd misc-tools
59+ make dj_make_chroot
60+ sudo ./dj_make_chroot
61+
5162 - name : Build and push Docker images
5263 uses : docker/build-push-action@v5
5364 with :
Original file line number Diff line number Diff line change 11#! /bin/bash -e
22
3+ # This script is not used in GHA CI
34if [[ -n ${CI} ]]
45then
56 set -euxo pipefail
2021 REGISTRY=$2
2122fi
2223
23- echo " [..] Building an example chroot..."
24- wget https://github.com/DOMjudge/domjudge/archive/refs/heads/main.zip
25- unzip main.zip
26- cd domjudge-main
27- make configure
28- ./configure --with-domjudge-user=domjudge --with-judgehost_chrootdir=" $( pwd) /chroot"
29- cd misc-tools
30- make dj_make_chroot
31- sudo ./dj_make_chroot
32-
3324echo " [..] Building Docker image for Gitlab CI..."
3425cp -r ../docker-contributor/php-config ./
3526docker build -t " ${REGISTRY} :${VERSION} " .
You can’t perform that action at this time.
0 commit comments