10XGenomics / vartrix

Single-Cell Genotyping Tool
MIT License
185 stars 27 forks source link

Use the 10x toolchain Docker image #42

Closed sjackman closed 4 years ago

sjackman commented 4 years ago

Based on PR https://github.com/10XGenomics/vartrix/pull/40

Builds executables for…

sjackman commented 4 years ago
docker-login

https://github.com/10XGenomics/vartrix/pull/42/checks?check_run_id=540305034

Sadly GitHub Actions tries to download the Docker image specified by uses: docker://… straight away before running any of user-specified commands, including docker login.

sjackman commented 4 years ago
$ docker run docker.pkg.github.com/10xdev/toolchain-scripts/toolchain:latest
Unable to find image 'docker.pkg.github.com/10xdev/toolchain-scripts/toolchain:latest' locally
docker: Error response from daemon: repository docker.pkg.github.com/10xdev/toolchain-scripts/toolchain not found: name unknown: docker package "toolchain" does not exist under owner "10xdev/toolchain-scripts".

https://github.com/10XGenomics/vartrix/pull/42/checks?check_run_id=540362611

The token secrets.GITHUB_TOKEN permits access to this repo only, and so can't be used to pull the Docker image from the repo github.com/10xdev/toolchain-scripts. We'd need a PAT for that.

sjackman commented 4 years ago

Success! You can download the artifacts (the binary executables) by clicking on the Checks tab then Test on: pull_request then linux then Artifacts then vartrix. The zip file vartrix.zip contains the executables vartrix-linux and vartrix-macos