debug
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is failing Details

init
shnee 3 years ago
parent 462dda85ca
commit 4ab06a04de

@ -19,15 +19,15 @@ steps:
- git submodule update --init --recursive
- name: build
image: docker.shnee.net/shnee/cicd:latest
image: docker.shnee.net/shnee/dind:19.03
privileged: true
# image: docker:dind
# pull: always
volumes:
# - name: dockersock
# path: /var/run
- name: dockertmp
path: /var/run/docker.sock
- name: dockersock
path: /var/run
# - name: dockertmp
# path: /var/run/docker.sock
environment:
# SSH_KEY:
# from_secret: ssh-key
@ -35,13 +35,12 @@ steps:
from_secret: dockerconfig
commands:
# Give docker enough time to start.
- sleep 5
- sleep 10
- mkdir -p ~/.docker
- echo "$DOCKER_CONFIG" | tee ~/.docker/config.json
# - sleep 600
# - cat /tmp/config
# - false
- sleep 600
- make no-cache build-all
- make push-all
@ -65,20 +64,20 @@ steps:
# when:
# status: [success, failure]
# services:
# - name: docker
# image: docker.shnee.net/shnee/cicd:latest
# privileged: true
# volumes:
# - name: dockersock
# path: /var/run
services:
- name: docker
image: docker.shnee.net/shnee/cicd:19.03
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
# - name: dockersock
# temp: {}
- name: dockertmp
host:
path: /var/run/docker.sock
- name: dockersock
temp: {}
# - name: dockertmp
# host:
# path: /var/run/docker.sock
clone:
depth: 50

Loading…
Cancel
Save