Skip to content

Commit c41057b

Browse files
committed
Revert builx push experiment
1 parent 8312bc0 commit c41057b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Jenkinsfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,10 @@ pipeline {
136136
}
137137
steps {
138138
withCredentials([usernamePassword(credentialsId: 'jc21-dockerhub', passwordVariable: 'dpass', usernameVariable: 'duser')]) {
139-
// Buildx to local cache
140-
sh "./scripts/buildx --cache-to=type=local,dest=cache,mode=max ${BUILDX_PUSH_TAGS}"
141139
// Docker Login
142140
sh "docker login -u '${duser}' -p '${dpass}'"
143141
// Buildx with push from cache
144-
sh "./scripts/buildx --push --cache-from=type=local,src=cache ${BUILDX_PUSH_TAGS}"
142+
sh "./scripts/buildx --push ${BUILDX_PUSH_TAGS}"
145143
}
146144
}
147145
}

0 commit comments

Comments
 (0)