modify
This commit is contained in:
		
							parent
							
								
									12d64462b3
								
							
						
					
					
						commit
						9c24664fc5
					
				@ -7,15 +7,10 @@ steps:
 | 
				
			|||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      - name: deps
 | 
					      - name: deps
 | 
				
			||||||
        path: /build
 | 
					        path: /build
 | 
				
			||||||
    environment:
 | 
					 | 
				
			||||||
      GITEA_RELEASE:
 | 
					 | 
				
			||||||
        from_secret: gitea_release_key
 | 
					 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - go test ./...
 | 
					      - go test ./...
 | 
				
			||||||
      - go build -o /build/ddns-client -ldflags "-w -s" .
 | 
					      - go build -o /build/ddns-client -ldflags "-w -s" .
 | 
				
			||||||
      - cp config.default.yml /build/config.yml
 | 
					      - cp config.default.yml /build/config.yml
 | 
				
			||||||
      - env
 | 
					 | 
				
			||||||
      - echo $GITEA_RELEASE
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: pack release
 | 
					  - name: pack release
 | 
				
			||||||
    image: alpine
 | 
					    image: alpine
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user