mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-04 09:25:15 +00:00 
			
		
		
		
	Fix master docker pushes, hopefully
This commit is contained in:
		
							
								
								
									
										16
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -15,9 +15,6 @@ pipeline {
 | 
				
			|||||||
		COMPOSE_INTERACTIVE_NO_CLI = 1
 | 
							COMPOSE_INTERACTIVE_NO_CLI = 1
 | 
				
			||||||
		BUILDX_NAME                = "${COMPOSE_PROJECT_NAME}"
 | 
							BUILDX_NAME                = "${COMPOSE_PROJECT_NAME}"
 | 
				
			||||||
		BRANCH_LOWER               = "${BRANCH_NAME.toLowerCase()}"
 | 
							BRANCH_LOWER               = "${BRANCH_NAME.toLowerCase()}"
 | 
				
			||||||
 | 
					 | 
				
			||||||
		// Defaults to the Branch name, which is applies to all branches AND pr's
 | 
					 | 
				
			||||||
		BUILDX_PUSH_TAGS           = "-t docker.io/jc21/${IMAGE}:github-${BRANCH_LOWER}"
 | 
					 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	stages {
 | 
						stages {
 | 
				
			||||||
		stage('Environment') {
 | 
							stage('Environment') {
 | 
				
			||||||
@@ -32,6 +29,19 @@ pipeline {
 | 
				
			|||||||
						}
 | 
											}
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
									stage('Other') {
 | 
				
			||||||
 | 
										when {
 | 
				
			||||||
 | 
											not {
 | 
				
			||||||
 | 
												branch 'master'
 | 
				
			||||||
 | 
											}
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
 | 
										steps {
 | 
				
			||||||
 | 
											script {
 | 
				
			||||||
 | 
												// Defaults to the Branch name, which is applies to all branches AND pr's
 | 
				
			||||||
 | 
												env.BUILDX_PUSH_TAGS = "-t docker.io/jc21/${IMAGE}:github-${BRANCH_LOWER}"
 | 
				
			||||||
 | 
											}
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		stage('Frontend') {
 | 
							stage('Frontend') {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user