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