1
0
Fork 0

try dind again

This commit is contained in:
Sean Sube 2024-02-25 16:00:47 -06:00
parent 5f3b83c3fe
commit 5f7cee0a51
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 12 additions and 10 deletions

View File

@ -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