refractored woodpecker
This commit is contained in:
		
							parent
							
								
									1b8ce18b2c
								
							
						
					
					
						commit
						a465dde1dc
					
				
					 2 changed files with 20 additions and 0 deletions
				
			
		
							
								
								
									
										20
									
								
								.woodpecker/cron.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								.woodpecker/cron.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,20 @@
 | 
				
			||||||
 | 
					variables:
 | 
				
			||||||
 | 
					  - &file Dockerfile
 | 
				
			||||||
 | 
					  - &repo git.jmbit.de/${CI_REPO_OWNER}/${CI_REPO_NAME}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					  build:
 | 
				
			||||||
 | 
					    image: woodpeckerci/plugin-docker-buildx
 | 
				
			||||||
 | 
					    settings:
 | 
				
			||||||
 | 
					      dockerfile: *file
 | 
				
			||||||
 | 
					      platforms: linux/arm64/v8,linux/amd64
 | 
				
			||||||
 | 
					      repo: *repo
 | 
				
			||||||
 | 
					      registry: git.jmbit.de
 | 
				
			||||||
 | 
					      tags: latest
 | 
				
			||||||
 | 
					      username: ${CI_REPO_OWNER}
 | 
				
			||||||
 | 
					      password:
 | 
				
			||||||
 | 
					        from_secret: forgejo_token
 | 
				
			||||||
 | 
					    when:
 | 
				
			||||||
 | 
					      branch: main
 | 
				
			||||||
 | 
					      event: cron
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue