clessy-ng/.drone.yml

37 lines
623 B
YAML
Raw Normal View History

2022-03-24 15:28:07 +00:00
kind: pipeline
type: docker
name: default
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
2022-03-24 15:28:07 +00:00
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
2022-03-25 15:03:48 +00:00
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}