runner-images/Makefile
张泊明518370910136 4febf93f57
Some checks failed
push / build (push) Failing after 9s
feat: remove teapot-checker
2024-12-05 12:04:02 -05:00

23 lines
448 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
ls -lha bin
upx --best bin/*
ls -lha bin
force-build: prepare
docker build --no-cache -t $(IMAGE_NAME) .
build: prepare
docker build -t $(IMAGE_NAME) .
push:
docker push $(IMAGE_NAME)