mirror of
				https://github.com/vyos/vyos-build.git
				synced 2025-10-01 20:28:40 +02:00 
			
		
		
		
	Jenkins: Docker: buildcontainers w/o cache
... so we fetch latest Debian updates
This commit is contained in:
		
							parent
							
								
									5271c0fa65
								
							
						
					
					
						commit
						b4cbb66695
					
				@ -53,7 +53,7 @@ pipeline {
 | 
			
		||||
                    steps {
 | 
			
		||||
                        script {
 | 
			
		||||
                            DOCKER_IMAGE_AMD64 = "vyos/vyos-build:" + env.GIT_BRANCH_NAME
 | 
			
		||||
                            sh "docker build -t ${DOCKER_IMAGE_AMD64} docker"
 | 
			
		||||
                            sh "docker build --no-cache --tag ${DOCKER_IMAGE_AMD64} docker"
 | 
			
		||||
                            if (! isCustomBuild()) {
 | 
			
		||||
                                withDockerRegistry([credentialsId: "DockerHub"]) {
 | 
			
		||||
                                    sh "docker push ${DOCKER_IMAGE_AMD64}"
 | 
			
		||||
@ -69,7 +69,7 @@ pipeline {
 | 
			
		||||
                    steps {
 | 
			
		||||
                        script {
 | 
			
		||||
                            DOCKER_IMAGE_ARM64 = "vyos/vyos-build:" + env.GIT_BRANCH_NAME + "-arm64"
 | 
			
		||||
                            sh "docker build -t ${DOCKER_IMAGE_ARM64} --build-arg ARCH=arm64v8/ docker"
 | 
			
		||||
                            sh "docker build --no-cache --tag ${DOCKER_IMAGE_ARM64} --build-arg ARCH=arm64v8/ docker"
 | 
			
		||||
                            if (! isCustomBuild()) {
 | 
			
		||||
                                withDockerRegistry([credentialsId: "DockerHub"]) {
 | 
			
		||||
                                    sh "docker push ${DOCKER_IMAGE_ARM64}"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user