This commit is contained in:
		
							parent
							
								
									7330d1c2ed
								
							
						
					
					
						commit
						d5aab80ffe
					
				
					 2 changed files with 9 additions and 6 deletions
				
			
		
							
								
								
									
										13
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								.drone.yml
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -6,11 +6,14 @@ steps:
 | 
			
		|||
- name: build&push
 | 
			
		||||
  image: harbor.hq.rosti.cz/library/builder:35
 | 
			
		||||
  environment:
 | 
			
		||||
    username: robot$library+droneci
 | 
			
		||||
    password: 
 | 
			
		||||
      from_secret: repo_password
 | 
			
		||||
    repo: harbor.hq.rosti.cz/library/builder
 | 
			
		||||
    tag: 35
 | 
			
		||||
    # username: robot$library+droneci
 | 
			
		||||
    # password: 
 | 
			
		||||
    #   from_secret: repo_password
 | 
			
		||||
    # repo: harbor.hq.rosti.cz/library/builder
 | 
			
		||||
    username: admin
 | 
			
		||||
    password: admin
 | 
			
		||||
    repo: registry.kube.ceperka.net/library/builder
 | 
			
		||||
    tag: 36
 | 
			
		||||
  privileged: true
 | 
			
		||||
  commands:
 | 
			
		||||
  - echo "$password" | podman login -u $username --password-stdin harbor.hq.rosti.cz
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
FROM fedora:35
 | 
			
		||||
FROM fedora:36
 | 
			
		||||
 | 
			
		||||
ADD ceperka-ca.crt /etc/pki/ca-trust/source/anchors/
 | 
			
		||||
ADD rosti-ca.crt /etc/pki/ca-trust/source/anchors/
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue