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