Configure Docker-in-Docker for prow-tests image build presubmit job
@@ -91,14 +91,20 @@ presubmits:
- "-C"
- "images/prow-tests"
- "build"
+ securityContext:
+ privileged: true
+ env:
+ - name: DOCKER_IN_DOCKER_ENABLED
+ value: "true"
+ - name: GOOGLE_APPLICATION_CREDENTIALS
+ value: /etc/test-account/service-account.json
volumeMounts:
- name: test-account
mountPath: /etc/test-account
readOnly: true
- env:
- - name: GOOGLE_APPLICATION_CREDENTIALS
- value: /etc/test-account/service-account.json
volumes:
+ - name: docker-graph
+ emptyDir: {}
- name: test-account
secret:
secretName: test-account
