This commit is contained in:
		
							parent
							
								
									d162a43735
								
							
						
					
					
						commit
						21d2b5f1da
					
				
					 1 changed files with 13 additions and 13 deletions
				
			
		
							
								
								
									
										26
									
								
								.drone.yml
									
										
									
									
									
								
							
							
						
						
									
										26
									
								
								.drone.yml
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -36,17 +36,17 @@ steps:
 | 
			
		|||
      auto_tag: true
 | 
			
		||||
      tags: latest
 | 
			
		||||
 
 | 
			
		||||
  - name: clair
 | 
			
		||||
    image: ubuntu:18.04 
 | 
			
		||||
    environment:
 | 
			
		||||
      CLAIR_ADDR: https://dev01:6060
 | 
			
		||||
      CLAIR_OUTPUT: High
 | 
			
		||||
      CLAIR_THRESHOLD: 1
 | 
			
		||||
      REGISTRY_INSECURE: true
 | 
			
		||||
    commands:
 | 
			
		||||
      - apt -y update
 | 
			
		||||
      - apt -y install curl
 | 
			
		||||
      - curl -Lo /usr/local/bin/klar https://github.com/optiopay/klar/releases/download/v2.4.0/klar-2.4.0-linux-amd64
 | 
			
		||||
      - chmod 755 /usr/local/bin/klar
 | 
			
		||||
      - klar dr.dnix.de/flokati
 | 
			
		||||
  #- name: clair
 | 
			
		||||
  #  image: ubuntu:18.04 
 | 
			
		||||
  #  environment:
 | 
			
		||||
  #    CLAIR_ADDR: http://dev01:6060
 | 
			
		||||
  #    CLAIR_OUTPUT: High
 | 
			
		||||
  #    CLAIR_THRESHOLD: 10
 | 
			
		||||
  #    REGISTRY_INSECURE: true
 | 
			
		||||
  #  commands:
 | 
			
		||||
  #    - apt -y update
 | 
			
		||||
  #    - apt -y install curl
 | 
			
		||||
  #    - curl -Lo /usr/local/bin/klar https://github.com/optiopay/klar/releases/download/v2.4.0/klar-2.4.0-linux-amd64
 | 
			
		||||
  #    - chmod 755 /usr/local/bin/klar
 | 
			
		||||
  #    - klar dr.dnix.de/flokati
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue