Updating docker pipeline to trigger off of tags
This commit is contained in:
parent
86ab0fba86
commit
4576048878
22
.drone.yml
22
.drone.yml
@ -3,22 +3,26 @@ type: docker
|
|||||||
name: chessboard_builder
|
name: chessboard_builder
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
|
||||||
- build_tools
|
|
||||||
event:
|
event:
|
||||||
- push
|
- tag
|
||||||
- custom
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: git.pipsquire.com/djweber12/Chess_Board_Sim
|
repo: git.pipsquire.com/djweber12/Chess_Board_Sim
|
||||||
registry: git.pipsquire.com
|
registry: git.pipsquire.com
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_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