From 4576048878e15b45076de835141d6237f2dfa324 Mon Sep 17 00:00:00 2001 From: Daniel Weber Date: Sat, 5 Oct 2024 15:25:17 -0400 Subject: [PATCH] Updating docker pipeline to trigger off of tags --- .drone.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0f24cae..0294c54 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,22 +3,26 @@ type: docker name: chessboard_builder trigger: - branch: - - build_tools event: - - push - - custom + - tag steps: - name: docker image: plugins/docker settings: repo: git.pipsquire.com/djweber12/Chess_Board_Sim - registry: git.pipsquire.com - username: - from_secret: docker_username - password: - from_secret: docker_password + registry: git.pipsquire.com + username: + from_secret: docker_username + password: + from_secret: docker_password + tags: + - latest + - ${DRONE_TAG//"builder-v"} + when: + ref: + include: + - ref/tags/builder-v* ---