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') {