This commit is contained in:
parent
22f16fe4ca
commit
505fb393f4
|
@ -28,8 +28,8 @@ jobs:
|
|||
go env -w GOPROXY=https://goproxy.io,direct
|
||||
chown -R root:root /root/.ssh
|
||||
- name: Build
|
||||
run: make build
|
||||
run: make force-build
|
||||
- name: Check images
|
||||
run: docker ps -a
|
||||
run: docker images
|
||||
- name: Push
|
||||
run: make push
|
||||
|
|
9
Makefile
9
Makefile
|
@ -1,11 +1,16 @@
|
|||
.PHONY: all build push
|
||||
.PHONY: all prepare force-build build push
|
||||
|
||||
all: build
|
||||
|
||||
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.educn: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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user