runner-images/Makefile
张泊明518370910136 f8dcc3d6f7
All checks were successful
push / build (push) Successful in 2m35s
fix: force build typo
2024-09-30 06:09:55 -04:00

18 lines
459 B
Makefile

.PHONY: all prepare force-build build push
all: build
prepare:
git submodule update --init --remote
$(MAKE) -C JOJ3
cp JOJ3/build/joj3 bin/
force-build: prepare
docker build --no-cache -t focs.ji.sjtu.edu.cn:5000/gitea/runner-images:focs-ubuntu-latest-slim .
build: prepare
docker build -t focs.ji.sjtu.edu.cn:5000/gitea/runner-images:focs-ubuntu-latest-slim .
push:
docker push focs.ji.sjtu.edu.cn:5000/gitea/runner-images:focs-ubuntu-latest-slim