ci: fix .ssh mount
Some checks failed
push / build (push) Has been cancelled

This commit is contained in:
张泊明518370910136 2024-09-26 01:53:44 -04:00
parent a56f87feda
commit 3d4cb0d568
GPG Key ID: CA088E6D9284F870

View File

@ -8,6 +8,8 @@ jobs:
build:
container:
image: focs.ji.sjtu.edu.cn:5000/gitea/runner-images:ubuntu-latest
volumes:
- /home/actions/.ssh:/root/.ssh
steps:
- name: Check out repository code
uses: https://gitea.com/BoYanZh/checkout@focs
@ -24,6 +26,7 @@ jobs:
run: |
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.io,direct
chown -R root:root /root/.ssh
- name: Build
run: make build
- name: Check images