mirror of
				https://github.com/DarkflameUniverse/NexusDashboard.git
				synced 2025-11-04 14:11:54 +00:00 
			
		
		
		
	missed references
This commit is contained in:
		
							
								
								
									
										4
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -35,10 +35,10 @@ node('worker'){
 | 
			
		||||
    }
 | 
			
		||||
    def tag = ''
 | 
			
		||||
    stage('Build Container'){
 | 
			
		||||
        if (params.BRANCH.contains('main')){
 | 
			
		||||
        if (params.GIT_BRANCH.contains('main')){
 | 
			
		||||
            tag = 'latest'
 | 
			
		||||
        } else {
 | 
			
		||||
            tag = params.BRANCH.replace('\\', '-')
 | 
			
		||||
            tag = params.GIT_BRANCH.replace('\\', '-')
 | 
			
		||||
        }
 | 
			
		||||
        sh "docker build -t aronwk/nexus-dashboard:$tag ."
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user