All checks were successful
		
		
	
	gitea-kspace/mongo-logger/pipeline/head This commit looks good
				
			
		
			
				
	
	
		
			21 lines
		
	
	
		
			362 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			362 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
| #!/usr/bin/groovy
 | |
| image = "mongo-logger"
 | |
| label = "latest"
 | |
| build = null
 | |
| 
 | |
| node {
 | |
|     stage("Checkout") {
 | |
|         checkout scm
 | |
|     }
 | |
| 
 | |
|     stage("Build") {
 | |
|         build = docker.build("kspaceee/${image}")
 | |
|     }
 | |
| 
 | |
|     stage("Push") {
 | |
|         docker.withRegistry("https://registry.hub.docker.com", "dockerhub-kspace") {
 | |
|             build.push(label)
 | |
|         }
 | |
|     }
 | |
| }
 |