Skip to content

Commit

Permalink
Merge pull request #2286 from drpatelh/registry
Browse files Browse the repository at this point in the history
Move docker.registry definition out of docker profile
  • Loading branch information
maxulysse authored May 11, 2023
2 parents 14b0736 + bd83d3d commit 90596b9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions nf_core/pipeline-template/nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ profiles {
}
docker {
docker.enabled = true
docker.registry = 'quay.io'
docker.userEmulation = true
conda.enabled = false
singularity.enabled = false
Expand All @@ -131,7 +130,6 @@ profiles {
}
podman {
podman.enabled = true
podman.registry = 'quay.io'
conda.enabled = false
docker.enabled = false
singularity.enabled = false
Expand Down Expand Up @@ -175,6 +173,12 @@ profiles {
test_full { includeConfig 'conf/test_full.config' }
}

// 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'

{% if igenomes %}
// Load igenomes.config if required
if (!params.igenomes_ignore) {
Expand Down

0 comments on commit 90596b9

Please sign in to comment.