docker-murmur/.drone.yml

38 lines
572 B
YAML
Raw Normal View History

kind: pipeline
type: docker
name: build
steps:
- name: 'docker-build'
image: plugins/docker
settings:
repo:
from_secret: DOCKER_REPO
dry_run: true
purge: true
trigger:
event:
- push
---
kind: pipeline
type: docker
name: publish
steps:
- name: 'docker-publish'
image: plugins/docker
settings:
username:
from_secret: DOCKER_LOGIN
password:
from_secret: DOCKER_TOKEN
repo:
from_secret: DOCKER_REPO
tags:
- ${DRONE_TAG}
- latest
trigger:
event:
- tag