clessy-ng/.drone.yml

39 lines
679 B
YAML
Raw Normal View History

2022-03-24 15:28:07 +00:00
kind: pipeline
type: docker
name: default
steps:
- name: publish
image: plugins/docker
settings:
auto_tag: true
registry:
from_secret: docker_registry
repo:
from_secret: docker_repo
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- push
- tag
branch: master
2022-03-25 15:03:48 +00:00
volumes:
- name: dockersock
path: /var/run
# Specify docker:dind as a service
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}