All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			
		
			
				
	
	
		
			35 lines
		
	
	
		
			975 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			975 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| kind: pipeline
 | |
| name: default
 | |
| 
 | |
| volumes:
 | |
|   - name: docker_socket
 | |
|     host:
 | |
|       path: /var/run/docker.sock
 | |
| 
 | |
| steps:
 | |
| - name: build  
 | |
|   image: alexviscreanu/buildx
 | |
|   commands:
 | |
|     - docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
 | |
|     - docker buildx create --use --name crosscomp
 | |
|     - docker buildx inspect --bootstrap
 | |
|     - docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD registry.chrz.de
 | |
|     - docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --output=type=image,push=true --progress tty -t registry.chrz.de/public/hello-ci .
 | |
|   volumes:
 | |
|     - name: docker_socket
 | |
|       path: /var/run/docker.sock
 | |
|   environment:
 | |
|     DOCKER_USERNAME:
 | |
|         from_secret: docker_username
 | |
|     DOCKER_PASSWORD:
 | |
|         from_secret: docker_password
 | |
| 
 | |
| - name: notify
 | |
|   image: drillster/drone-email
 | |
|   settings:
 | |
|     host: smtp
 | |
|     port: 25
 | |
|     skip_verify: true
 | |
|     from: drone@chrz.de
 | |
|   when:
 | |
|     status: [ success, failure ] |