runner-images/Makefile
张泊明518370910136 2ea8786afc
All checks were successful
push / build (push) Successful in 45s
style: space around equal sign
2024-10-20 16:44:04 -04:00

20 lines
409 B
Makefile

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