add env
This commit is contained in:
		
							parent
							
								
									9ddd32642f
								
							
						
					
					
						commit
						b6579cd4d6
					
				@ -7,7 +7,9 @@ steps:
 | 
			
		||||
    volumes:
 | 
			
		||||
      - name: deps
 | 
			
		||||
        path: /build
 | 
			
		||||
    secrets: [gitea_release_key]
 | 
			
		||||
    environment:
 | 
			
		||||
      GITEA_RELEASE:
 | 
			
		||||
        from_secret: gitea_release_key
 | 
			
		||||
    commands:
 | 
			
		||||
      - go test ./...
 | 
			
		||||
      - go build -o /build/ddns-client -ldflags "-w -s" .
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user