From c41057b28a13f2773c32a728beb7a871c582c437 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Fri, 31 Jul 2020 09:28:45 +1000 Subject: [PATCH] Revert builx push experiment --- Jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index bce446aa..1d8a287a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -136,12 +136,10 @@ 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 ${BUILDX_PUSH_TAGS}" // Docker Login sh "docker login -u '${duser}' -p '${dpass}'" // Buildx with push from cache - sh "./scripts/buildx --push --cache-from=type=local,src=cache ${BUILDX_PUSH_TAGS}" + sh "./scripts/buildx --push ${BUILDX_PUSH_TAGS}" } } }