nsd-docker/.drone.yml

28 lines
506 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: Build docker image
image: docker:latest
volumes:
- name: docker_sock
path: /var/run/docker.sock
commands:
- docker build --no-cache -t j10l/nsd-docker:latest .
- 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
host:
path: /var/run/docker.sock