🚀 CI build on feature branch tags

ref #24
This commit is contained in:
Philipp Dormann 2020-12-12 18:13:23 +01:00
parent 359e955926
commit a1c3751164
1 changed files with 19 additions and 0 deletions

View File

@ -47,6 +47,25 @@ steps:
when:
event:
- tag
- name: build featurebranch
image: plugins/docker
depends_on: [clone]
settings:
username:
from_secret: DOCKER_REGISTRY_USER
password:
from_secret: DOCKER_REGISTRY_PASSWORD
auto_tag: true
auto_tag_suffix: drone_autobuild
repo: registry.odit.services/lfk/backend
tags:
- featurebranch
registry: registry.odit.services
when:
branch:
- feature/*
event:
- tag
trigger:
event:
- pull_request