From 84576e9cd97eb770940eaf87453773ada13afe63 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 10 Mar 2023 16:17:52 +0300 Subject: [PATCH] ci: build docker image with current branch tag --- .woodpecker.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 42a9d30..7438256 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,7 +6,9 @@ pipeline: image: plugins/docker settings: repo: git.pleshevski.ru/${CI_REPO} - tags: ${CI_COMMIT_SHA:0:8} + tags: + - ${CI_COMMIT_BRANCH} + - ${CI_COMMIT_SHA:0:8} deploy: image: git.pleshevski.ru/drone_plugins/docker_stack