From a932a3bd7c702124dc51e820d4870cb8326bccc6 Mon Sep 17 00:00:00 2001 From: Jochen Welzel Date: Mon, 20 Apr 2020 11:15:00 +0200 Subject: [PATCH] add push to hub --- .drone.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 85b3dce..7415d51 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,17 @@ steps: - name: docker_sock path: /var/run/docker.sock commands: - - docker build --no-cache -t nsd-docker . + - docker build --no-cache -t j10l/nsd-docker:latest . + +steps: +- name: push docker image + image: plugins/docker + settings: + repo: j10l/nsd-docker + username: + from_secret: docker_username + password: + from_secret: docker_password volumes: - name: docker_sock