NBISweden / pipelines-nextflow

A set of workflows written in Nextflow for Genome Annotation.
GNU General Public License v3.0
42 stars 18 forks source link

HiSat2 image for TranscriptAssembly workflow needs authentication token. #16

Closed mahesh-panchal closed 4 years ago

mahesh-panchal commented 4 years ago

The old mulled biocontainers image didn't work.

The new image: docker://docker.pkg.github.com/nbisweden/pipelines-nextflow/hisat2:2.1.0 works, but since it's on github packages, this needs a Github authentication token to even read from the public image.

Current solution is to pull the image separately using the same instruction as nextflow and provide the authentication token using the options provided by docker or singularity, and then manually copy it to the workDir.

e.g. singularity pull --docker-login --name $TESTDIR/work/singularity/docker.pkg.github.com-nbisweden-pipelines-nextflow-hisat2-2.1.0.img docker://docker.pkg.github.com/nbisweden/pipelines-nextflow/hisat2:2.1.0

The alternative is to make the image public on another site.

mahesh-panchal commented 4 years ago

Made a copy of the image on Docker Hub, to pull from there.

mbinzerpanchal/hisat2:2.1.0