Browse Source

Docker.local cert to dind

master
Daniel Gyulai 4 years ago
parent
commit
1b6baf41e3
  1. 5
      Jenkinsfile

5
Jenkinsfile

@ -5,6 +5,9 @@ spec:
volumes: volumes:
- name: docker-socket - name: docker-socket
emptyDir: {} emptyDir: {}
- name: docker-local-certs
configMap:
name: docker-cert
containers: containers:
- name: docker - name: docker
image: docker:19.03.1 image: docker:19.03.1
@ -22,6 +25,8 @@ spec:
volumeMounts: volumeMounts:
- name: docker-socket - name: docker-socket
mountPath: /var/run mountPath: /var/run
- name: docker-local-certs
mountPath: /etc/docker/certs.d/docker.local
''') { ''') {
node(POD_LABEL) { node(POD_LABEL) {

Loading…
Cancel
Save