Compare commits

..

1 Commits

Author SHA1 Message Date
Jeffrey Paul 91adcf7731 fix
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is failing Details
2022-11-28 02:43:36 +01:00
1 changed files with 14 additions and 20 deletions

View File

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