From 2f11c1dfa2b445f5c9c8d0b7df3cd587fd217a08 Mon Sep 17 00:00:00 2001
From: Adam Talbot <adam.talbot@seqera.io>
Date: Mon, 22 May 2023 17:43:45 +0100
Subject: [PATCH] Add default registry to quay.io

---
 nextflow.config | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/nextflow.config b/nextflow.config
index 4513d65..9efeef9 100644
--- a/nextflow.config
+++ b/nextflow.config
@@ -54,13 +54,13 @@ params {
          ligation_site='GATCGATC,GATCANTC,GANTGATC,GANTANTC'
       }
     }
-    
+
     min_restriction_fragment_size = 0
     max_restriction_fragment_size = 0
     min_insert_size = 0
     max_insert_size = 0
     save_pairs_intermediates = false
-   
+
     // Dnase Hi-C
     dnase = false
     min_cis_dist = 0
@@ -111,7 +111,7 @@ params {
     validate_params            = true
     show_hidden_params         = false
     schema_ignore_params       = 'genomes,digest'
- 
+
     // Config options
     custom_config_version      = 'master'
     custom_config_base         = "https://raw.githubusercontent.com/nf-core/configs/${params.custom_config_version}"
@@ -242,6 +242,12 @@ env {
 // Capture exit codes from upstream processes when piping
 process.shell = ['/bin/bash', '-euo', 'pipefail']
 
+// Set default registry for Docker and Podman independent of -profile
+// Will not be used unless Docker / Podman are enabled
+// Set to your registry if you have a mirror of containers
+docker.registry = 'quay.io'
+podman.registry = 'quay.io'
+
 def trace_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-ss')
 timeline {
     enabled = true
-- 
GitLab