extend labels, added git
This commit is contained in:
		
							parent
							
								
									c3f0b11a7f
								
							
						
					
					
						commit
						6e8f3f7138
					
				
					 2 changed files with 16 additions and 2 deletions
				
			
		
							
								
								
									
										3
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -3,6 +3,7 @@ | |||
| # SPDX-License-Identifier: AGPL-3.0-or-later
 | ||||
| 
 | ||||
| BUILDER := docker buildx | ||||
| TAG := git.schmidl.dev/schtobia/buildimage | ||||
| 
 | ||||
| build: dockerfile | ||||
| 	@${BUILDER} build --build-arg=GIT_COMMIT=$(shell git describe --tags --always --dirty) -t buildimage . | ||||
| 	@${BUILDER} build --build-arg=GIT_COMMIT=$(shell git describe --always) --build-arg=VERSION=$(shell git describe --tags --always --dirty) --build-arg=TIMESTAMP="$(shell date -u -Iseconds)" -t ${TAG} . | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue