ci work
This commit is contained in:
		
							
								
								
									
										13
									
								
								.drone.yaml
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								.drone.yaml
									
									
									
									
									
								
							@ -2,22 +2,19 @@
 | 
				
			|||||||
kind: pipeline
 | 
					kind: pipeline
 | 
				
			||||||
type: docker
 | 
					type: docker
 | 
				
			||||||
name: Build and Release
 | 
					name: Build and Release
 | 
				
			||||||
when:
 | 
					trigger:
 | 
				
			||||||
  # branch:
 | 
					  branch:
 | 
				
			||||||
  #   - main
 | 
					    - main
 | 
				
			||||||
  event:
 | 
					  event:
 | 
				
			||||||
    - tag
 | 
					    - tag
 | 
				
			||||||
 | 
					
 | 
				
			||||||
steps:
 | 
					steps:
 | 
				
			||||||
  - name: install-taskfile
 | 
					  - name: Build & Package
 | 
				
			||||||
    image: golang:1.21
 | 
					    image: golang:1.21
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d
 | 
					      - sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d
 | 
				
			||||||
  - name: build
 | 
					 | 
				
			||||||
    image: golang:1.21
 | 
					 | 
				
			||||||
    commands:
 | 
					 | 
				
			||||||
      - task package
 | 
					      - task package
 | 
				
			||||||
  - name: release
 | 
					  - name: Release
 | 
				
			||||||
    image: plugins/gitea-release
 | 
					    image: plugins/gitea-release
 | 
				
			||||||
    settings:
 | 
					    settings:
 | 
				
			||||||
      base_url: https://gitea.layla.gg
 | 
					      base_url: https://gitea.layla.gg
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user