From 63cc2aeb0f3f7bb5be5198c7d41f59e34a925a3c Mon Sep 17 00:00:00 2001 From: sneak Date: Mon, 28 Nov 2022 02:06:30 +0100 Subject: [PATCH] fix --- .drone.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8eaec59..75e7ff3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,17 +3,20 @@ name: test-docker-build steps: - name: test-docker-build - #image: plugins/docker - image: plugins/kaniko + image: plugins/docker + #image: plugins/kaniko + commands: + - echo nameserver 116.202.204.30 > /etc/resolv.conf + - DOCKER_HOST=unix:///var/lib/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: - dry_run: true + debug: true + #privileged: true repo: test/test - target: final - custom_dns: [ 116.202.204.30 ] - username: - from_secret: registry_username - password: - from_secret: registry_password tags: - ${DRONE_COMMIT_SHA} - ${DRONE_BRANCH}