From 3d4cb0d568e3814b9d3929d6a81a1345f54ce85c Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Thu, 26 Sep 2024 01:53:44 -0400 Subject: [PATCH] ci: fix .ssh mount --- .gitea/workflows/push.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/push.yaml b/.gitea/workflows/push.yaml index 48fa002..a9e681d 100644 --- a/.gitea/workflows/push.yaml +++ b/.gitea/workflows/push.yaml @@ -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