woodpecker: only log into registry when tagging
ci/woodpecker/push/woodpecker Pipeline was successful Details

main
Ariadne Conill 2022-08-04 17:10:37 -05:00
parent c2698fc17e
commit adf49bef78
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ pipeline:
password:
from_secret: REGISTRY_TOKEN
secrets: [REGISTRY_TOKEN]
when:
event: tag
tag: v*
build:
image: golang:1.19-alpine