Update pipeline
This commit is contained in:
		
							
								
								
									
										13
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -1,30 +1,27 @@
 | 
			
		||||
---
 | 
			
		||||
# ----------------------------------------------
 | 
			
		||||
# -- Build an image and push it to the registry
 | 
			
		||||
# ----------------------------------------------
 | 
			
		||||
kind: pipeline
 | 
			
		||||
type: docker
 | 
			
		||||
name: Build the builder
 | 
			
		||||
 | 
			
		||||
trigger:
 | 
			
		||||
  event:
 | 
			
		||||
    - push
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
environment:
 | 
			
		||||
  BUILDER_VERSION: 555262114ea81f6f286010474527f419b56d33a3
 | 
			
		||||
steps:
 | 
			
		||||
  - name: Build and push the docker image
 | 
			
		||||
    image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:f1775ea02b0c985e27449fbabeb810cd07e27f53
 | 
			
		||||
    image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:${BUILDER_VERSION}
 | 
			
		||||
    privileged: true
 | 
			
		||||
    environment:
 | 
			
		||||
      GITEA_TOKEN:
 | 
			
		||||
        from_secret: GITEA_TOKEN
 | 
			
		||||
    commands:
 | 
			
		||||
      - build-container
 | 
			
		||||
  
 | 
			
		||||
  - name: Cleanup registry
 | 
			
		||||
    image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:f1775ea02b0c985e27449fbabeb810cd07e27f53
 | 
			
		||||
    image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:${BUILDER_VERSION}
 | 
			
		||||
    environment:
 | 
			
		||||
      GITEA_TOKEN:
 | 
			
		||||
        from_secret: GITEA_TOKEN
 | 
			
		||||
    commands: 
 | 
			
		||||
    commands:
 | 
			
		||||
      - cleanup
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user