try dind again
This commit is contained in:
parent
5f3b83c3fe
commit
5f7cee0a51
|
@ -1,6 +1,17 @@
|
|||
depends_on:
|
||||
- build-api-3-10
|
||||
|
||||
services:
|
||||
- name: docker
|
||||
image: docker.io/docker:20.10-dind
|
||||
environment: &docker_env
|
||||
# DOCKER_CERT_PATH: "/shared/docker/client"
|
||||
DOCKER_DRIVER: overlay2
|
||||
DOCKER_HOST: tcp://localhost:2376
|
||||
DOCKER_NAME: "apextoaster/onnx-web"
|
||||
# DOCKER_TLS_CERTDIR: "/shared/docker"
|
||||
DOCKER_TLS_VERIFY: 1
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: docker.io/docker:20.10
|
||||
|
@ -8,13 +19,4 @@ steps:
|
|||
- mkdir ${HOME}/.docker
|
||||
- echo "${DOCKER_SECRET}" | base64 -d > ${HOME}/.docker/config.json
|
||||
- ../common/scripts/image-build.sh --push
|
||||
|
||||
volumes:
|
||||
- dockersock:/var/run/docker.sock
|
||||
|
||||
backend_options:
|
||||
kubernetes:
|
||||
volumes:
|
||||
- name: dockersock
|
||||
hostPath:
|
||||
path: /var/run/docker.sock
|
||||
environment: *docker_env
|
||||
|
|
Loading…
Reference in New Issue