nsd-docker/.drone.yml

28 lines
506 B
YAML
Raw Normal View History

2020-04-20 08:49:48 +00:00
---
2020-04-20 08:46:18 +00:00
kind: pipeline
2020-04-20 08:49:48 +00:00
type: docker
2020-04-20 08:46:18 +00:00
name: default
steps:
2020-04-20 08:53:47 +00:00
- name: Build docker image
image: docker:latest
volumes:
2020-04-20 08:55:11 +00:00
- name: docker_sock
path: /var/run/docker.sock
2020-04-20 08:53:47 +00:00
commands:
2020-04-20 11:02:21 +00:00
- docker build --no-cache -t j10l/nsd-docker:latest .
2020-04-20 09:15:00 +00:00
- name: push docker image
image: plugins/docker
settings:
repo: j10l/nsd-docker
username:
from_secret: docker_username
password:
from_secret: docker_password
2020-04-20 08:53:47 +00:00
volumes:
- name: docker_sock
host:
path: /var/run/docker.sock