Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set a default docker registry outside of profile scope. #1021

Merged
merged 3 commits into from
May 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ profiles {
}
docker {
docker.enabled = true
docker.registry = 'quay.io'
docker.userEmulation = true
conda.enabled = false
singularity.enabled = false
Expand All @@ -192,7 +191,6 @@ profiles {
}
podman {
podman.enabled = true
podman.registry = 'quay.io'
conda.enabled = false
docker.enabled = false
singularity.enabled = false
Expand Down Expand Up @@ -263,6 +261,15 @@ env {
JULIA_DEPOT_PATH = "/usr/local/share/julia"
}

// Capture exit codes from upstream processes when piping
process.shell = ['/bin/bash', '-euo', 'pipefail']

maxulysse marked this conversation as resolved.
Show resolved Hide resolved
// 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
Expand Down