Skip to content

Commit a350ca1

Browse files
committed
Set a default docker registry outside of profile scope.
The `docker.registry` configuration should always be set, as running on cloud executors will need to pull docker images but will not necessarily use the `docker` profile.
1 parent 535360b commit a350ca1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nextflow.config

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ profiles {
168168
}
169169
docker {
170170
docker.enabled = true
171-
docker.registry = 'quay.io'
172171
docker.userEmulation = true
173172
conda.enabled = false
174173
singularity.enabled = false
@@ -263,6 +262,9 @@ env {
263262
JULIA_DEPOT_PATH = "/usr/local/share/julia"
264263
}
265264

265+
// Set default docker registry (will be unused unless pulling docker images)
266+
docker.registry = 'quay.io'
267+
266268
def trace_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-ss')
267269
timeline {
268270
enabled = true

0 commit comments

Comments
 (0)