From cd5ea1f3cffbd67132a4366c0134fbf82aba3e55 Mon Sep 17 00:00:00 2001 From: sneak Date: Mon, 28 Nov 2022 02:06:30 +0100 Subject: [PATCH] try again --- .drone.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8eaec59..ad66ad2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,17 +3,19 @@ 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/run/docker.sock docker build . + #- env + #- cat /etc/resolv.conf settings: dry_run: true repo: test/test - target: final - custom_dns: [ 116.202.204.30 ] - username: - from_secret: registry_username - password: - from_secret: registry_password + custom_dns: [116.202.204.30] + username: foo + password: bar tags: - ${DRONE_COMMIT_SHA} - ${DRONE_BRANCH}