Compare commits
	
		
			2 commits
		
	
	
		
			f47146583e
			...
			bf371e76c5
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| bf371e76c5 | |||
| ee0358dcf5 | 
					 4 changed files with 58 additions and 0 deletions
				
			
		
							
								
								
									
										22
									
								
								.editorconfig
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.editorconfig
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,22 @@ | |||
| # SPDX-FileCopyrightText: 2023 Tobias Schmidl | ||||
| # | ||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | ||||
| 
 | ||||
| # EditorConfig is awesome: https://EditorConfig.org | ||||
| 
 | ||||
| # top-most EditorConfig file | ||||
| root = true | ||||
| 
 | ||||
| [*] | ||||
| indent_style = space | ||||
| indent_size = 4 | ||||
| end_of_line = lf | ||||
| charset = utf-8 | ||||
| trim_trailing_whitespace = true | ||||
| insert_final_newline = true | ||||
| 
 | ||||
| [*.{yaml,yml}] | ||||
| indent_size = 2 | ||||
| 
 | ||||
| [Makefile] | ||||
| indent_style = tab | ||||
|  | @ -16,4 +16,12 @@ repos: | |||
|   rev: v2.1.0 | ||||
|   hooks: | ||||
|   - id: reuse | ||||
| - repo: https://github.com/editorconfig-checker/editorconfig-checker.python | ||||
|   rev: '2.7.2' | ||||
|   hooks: | ||||
|   - id: editorconfig-checker | ||||
| - repo: https://git.schmidl.dev/schtobia/woodpecker-lint | ||||
|   rev: 1.0.0 | ||||
|   hooks: | ||||
|   - id: woodpecker-lint | ||||
| ... | ||||
|  |  | |||
							
								
								
									
										24
									
								
								.woodpecker.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								.woodpecker.yml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,24 @@ | |||
| # SPDX-FileCopyrightText: 2023 Tobias Schmidl | ||||
| # | ||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | ||||
| 
 | ||||
| --- | ||||
| steps: | ||||
|   docker-build: | ||||
|     image: woodpeckerci/plugin-docker-buildx | ||||
|     settings: | ||||
|       repo: git.schmidl.dev/${CI-REPO_OWNER}/buildimage | ||||
|       registry: git.schmidl.dev | ||||
|       dry_run: true | ||||
|       output: type=oci,dest=${CI_REPO_OWNER}-buildimage.tar | ||||
|   publish-next-agent: | ||||
|     image: woodpeckerci/plugin-docker-buildx | ||||
|     secrets: [docker_username, docker_password] | ||||
|     settings: | ||||
|       repo: git.schmidl.dev/${CI-REPO_OWNER}/buildimage | ||||
|       dockerfile: dockerfile | ||||
|       platforms: linux/amd64,linux/arm64/v8 | ||||
|     when: | ||||
|       branch: ${CI_REPO_DEFAULT_BRANCH} | ||||
|       event: push | ||||
| ... | ||||
|  | @ -14,6 +14,8 @@ org.opencontainers.image.title=buildimage \ | |||
| org.opencontainers.image.source="https://git.schmidl.dev/schtobia/buildimage" \ | ||||
| org.opencontainers.image.url="https://git.schmidl.dev/schtobia/buildimage" | ||||
| 
 | ||||
| # editorconfig-checker-disable | ||||
| 
 | ||||
| RUN apt update \ | ||||
|  && apt install --assume-yes --no-install-recommends \ | ||||
|         build-essential \ | ||||
|  | @ -21,6 +23,8 @@ RUN apt update \ | |||
|         git \ | ||||
|  && find /var/lib/apt -type f -delete | ||||
| 
 | ||||
| # editorconfig-checker-enable | ||||
| 
 | ||||
| RUN useradd -rm builder | ||||
| 
 | ||||
| USER builder | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue