This commit is contained in:
		
							parent
							
								
									d5aab80ffe
								
							
						
					
					
						commit
						a9074d3715
					
				
					 1 changed files with 7 additions and 6 deletions
				
			
		
							
								
								
									
										13
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								.drone.yml
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -12,12 +12,13 @@ steps:
 | 
			
		|||
    # repo: harbor.hq.rosti.cz/library/builder
 | 
			
		||||
    username: admin
 | 
			
		||||
    password: admin
 | 
			
		||||
    repo: registry.kube.ceperka.net/library/builder
 | 
			
		||||
    repo: registry.kube.ceperka.net
 | 
			
		||||
    image: registry.kube.ceperka.net/library/builder
 | 
			
		||||
    tag: 36
 | 
			
		||||
  privileged: true
 | 
			
		||||
  commands:
 | 
			
		||||
  - echo "$password" | podman login -u $username --password-stdin harbor.hq.rosti.cz
 | 
			
		||||
  - podman build -t $repo:$tag .
 | 
			
		||||
  - podman tag $repo:$tag $repo:latest
 | 
			
		||||
  - podman push $repo:$tag
 | 
			
		||||
  - podman push $repo:latest
 | 
			
		||||
  - echo "$password" | podman login -u $username --password-stdin $repo
 | 
			
		||||
  - podman build -t $image:$tag .
 | 
			
		||||
  - podman tag $image:$tag $image:latest
 | 
			
		||||
  - podman push $image:$tag
 | 
			
		||||
  - podman push $image:latest
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue