Updating docker pipeline to trigger off of tags

This commit is contained in:
Daniel Weber 2024-10-05 15:25:17 -04:00
parent 86ab0fba86
commit 4576048878

View File

@ -3,11 +3,8 @@ type: docker
name: chessboard_builder name: chessboard_builder
trigger: trigger:
branch:
- build_tools
event: event:
- push - tag
- custom
steps: steps:
- name: docker - name: docker
@ -19,6 +16,13 @@ steps:
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*
--- ---