From adf49bef7841b548fc9160e721aa1f22cade03f7 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Thu, 4 Aug 2022 17:10:37 -0500 Subject: [PATCH] woodpecker: only log into registry when tagging --- .woodpecker.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 15962f4..27bd0f6 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -7,6 +7,9 @@ pipeline: password: from_secret: REGISTRY_TOKEN secrets: [REGISTRY_TOKEN] + when: + event: tag + tag: v* build: image: golang:1.19-alpine