mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	Attempt to circumvent docker login token timeouts
This commit is contained in:
		
							
								
								
									
										7
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							| @@ -136,9 +136,12 @@ pipeline { | ||||
| 			} | ||||
| 			steps { | ||||
| 				withCredentials([usernamePassword(credentialsId: 'jc21-dockerhub', passwordVariable: 'dpass', usernameVariable: 'duser')]) { | ||||
| 					// Buildx to local cache | ||||
| 					sh "./scripts/buildx --cache-to=type=local,dest=cache,mode=max -t ${IMAGE}:build-${BRANCH_LOWER}-${BUILD_NUMBER}" | ||||
| 					// Docker Login | ||||
| 					sh "docker login -u '${duser}' -p '${dpass}'" | ||||
| 					// Buildx with push | ||||
| 					sh "./scripts/buildx --push ${BUILDX_PUSH_TAGS}" | ||||
| 					// Buildx with push from cache | ||||
| 					sh "./scripts/buildx --push --cache-from=type=local,src=cache ${BUILDX_PUSH_TAGS}" | ||||
| 				} | ||||
| 			} | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user