Drone configuration fix #2
|
@ -1,25 +1,30 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: build-pr
|
||||
name: build
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
- name: 'docker-build'
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo:
|
||||
from_secret: DOCKER_REPO
|
||||
dry_run: true
|
||||
purge: true
|
||||
when:
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- pull_request
|
||||
- push
|
||||
branch:
|
||||
exclude:
|
||||
- master
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build-and-publish
|
||||
name: publish
|
||||
|
||||
steps:
|
||||
- name: publish
|
||||
- name: 'docker-publish'
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
|
@ -31,6 +36,6 @@ steps:
|
|||
tags:
|
||||
- ${DRONE_TAG}
|
||||
- latest
|
||||
when:
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
Loading…
Reference in a new issue