Updating docker pipeline to trigger off of tags
This commit is contained in:
parent
86ab0fba86
commit
4576048878
12
.drone.yml
12
.drone.yml
@ -3,11 +3,8 @@ type: docker
|
||||
name: chessboard_builder
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- build_tools
|
||||
event:
|
||||
- push
|
||||
- custom
|
||||
- tag
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
@ -19,6 +16,13 @@ steps:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_TAG//"builder-v"}
|
||||
when:
|
||||
ref:
|
||||
include:
|
||||
- ref/tags/builder-v*
|
||||
|
||||
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user