Compare commits

..

1 Commits

Author SHA1 Message Date
36616aa2b4 fix
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-11-28 02:41:37 +01:00

View File

@ -1,18 +1,24 @@
kind: pipeline kind: pipeline
name: test-docker-build name: test-docker-build
steps: steps:
- name: test - name: test-docker-build
image: docker:dind image: plugins/docker
volumes: #image: plugins/kaniko
- name: dockersock commands:
path: /var/run/docker.sock - echo nameserver 116.202.204.30 > /etc/resolv.conf
commands: - ping -c 1 google.com
- echo nameserver 116.202.204.30 > /etc/resolv.conf - find /var/run
- docker ps -a - DOCKER_HOST=unix:///var/run/docker.sock docker build .
- docker build . #- /bin/sh /usr/local/bin/dockerd-entrypoint.sh /bin/drone-docker
volumes: #- exec /bin/drone-docker
- name: dockersock #- exec /bin/sh /usr/local/bin/dockerd-entrypoint.sh /bin/drone-docker
host: #- env
path: /var/run/docker.sock #- cat /etc/resolv.conf
settings:
debug: true
#privileged: true
repo: test/test
tags:
- ${DRONE_COMMIT_SHA}
- ${DRONE_BRANCH}