Jenkins Pipeline docker.withRegistry() push leads to endless loop
I managed to setup a jenkins on kubernetes and gitbucket on kubernetes. Now I am trying out to create my own first docker file for uploading on dockerhub. Unfortunately it fails while uploading to docker. Build is successfully, but I cant manage how to upload it to dockerhub (private repository). Jenkinsfile def label = "${BUILD_TAG}" podTemplate(label: label, containers: [ containerTemplate(name: 'docker', image: 'docker:latest', command: 'cat', ttyEnabled: true) ], volumes: [ hostPathVolume(mountPath: '/var/run/docker.sock', hostPath: '/var/run/docker.sock') ]) { node(label) { def app def my
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.