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