From 5e4a63af9cb76702b8144d1a57039588292c111d Mon Sep 17 00:00:00 2001 From: Amber Date: Fri, 2 Sep 2022 00:38:29 -0400 Subject: [PATCH] Only publish on main --- Jenkinsfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 4c7c338..395d004 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -48,6 +48,9 @@ pipeline { agent { label 'main' } + when { + branch 'main' + } steps { script { docker.withRegistry(env.DOCKER_REGISTRY, 'digital-ocean-ailuridae-registry') {