From be7c5acb404a0a62dd2928a5d50d9f757cb7dc12 Mon Sep 17 00:00:00 2001 From: Daniel Weber Date: Sat, 5 Oct 2024 15:55:43 -0400 Subject: [PATCH] Fixing DRONE_TAG cleaner upper --- .drone.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index abf25ee..c55fd6e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,8 +3,9 @@ type: docker name: chessboard_builder trigger: - event: - - tag + ref: + include: + - refs/tags/builder-v* steps: - name: docker @@ -14,15 +15,10 @@ steps: registry: git.pipsquire.com username: from_secret: docker_username - password: from_secret: docker_password tags: - latest - - ${DRONE_TAG//"builder-v"} - when: - ref: - include: - - refs/tags/builder-v* + - ${DRONE_TAG##builder-v} ---