nikola-docker/.drone.yml

25 lines
355 B
YAML
Raw Normal View History

2020-02-17 22:06:25 +00:00
---
kind: pipeline
type: docker
name: Build
steps:
- name: build
image: docker:dind
volumes:
- name: docker-socket
path: /var/run/docker.sock
commands:
- docker build -t "nikola:${DRONE_TAG}" /drone/src/
when:
event:
- tag
volumes:
- name: docker-socket
host:
path: /var/run/docker.sock
trigger:
event:
- tag