feat: force build
All checks were successful
push / build (push) Successful in 2m17s

This commit is contained in:
张泊明518370910136 2024-09-30 05:39:07 -04:00
parent 22f16fe4ca
commit 505fb393f4
GPG Key ID: CA088E6D9284F870
2 changed files with 9 additions and 4 deletions

View File

@ -28,8 +28,8 @@ jobs:
go env -w GOPROXY=https://goproxy.io,direct go env -w GOPROXY=https://goproxy.io,direct
chown -R root:root /root/.ssh chown -R root:root /root/.ssh
- name: Build - name: Build
run: make build run: make force-build
- name: Check images - name: Check images
run: docker ps -a run: docker images
- name: Push - name: Push
run: make push run: make push

View File

@ -1,11 +1,16 @@
.PHONY: all build push .PHONY: all prepare force-build build push
all: build all: build
build: prepare:
git submodule update --init --remote git submodule update --init --remote
$(MAKE) -C JOJ3 $(MAKE) -C JOJ3
cp JOJ3/build/joj3 bin/ 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 . docker build -t focs.ji.sjtu.edu.cn:5000/gitea/runner-images:focs-ubuntu-latest-slim .
push: push: