1
0
Fork 0
onnx-web/.woodpecker/.build-oci-cuda.yaml

27 lines
690 B
YAML
Raw Normal View History

2024-02-25 21:02:13 +00:00
depends_on:
- build-api-3-10
2024-02-25 22:00:47 +00:00
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"
2024-02-26 14:08:31 +00:00
# DOCKER_TLS_VERIFY: "1"
2024-02-26 03:00:33 +00:00
ports:
2024-02-26 03:01:42 +00:00
- "2376"
2024-02-25 22:00:47 +00:00
2024-02-25 20:03:04 +00:00
steps:
- name: build
image: docker.io/docker:20.10
commands:
- mkdir ${HOME}/.docker
- echo "${DOCKER_SECRET}" | base64 -d > ${HOME}/.docker/config.json
2024-02-26 03:13:29 +00:00
- ./common/scripts/image-build.sh --push
2024-02-26 03:00:33 +00:00
environment:
<<: *docker_env
DOCKER_HOST: tcp://docker:2376