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

23 lines
616 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 00:28:24 +00:00
DOCKER_TLS_VERIFY: "1"
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
- ../common/scripts/image-build.sh --push
2024-02-25 22:00:47 +00:00
environment: *docker_env