Skip to content

Add doccker file for cellranger atac #1

Add doccker file for cellranger atac

Add doccker file for cellranger atac #1

name: Test Spaceranger Version
on:
push:
branches: [ main ]
paths:
- 'dockerhub_repos/cellranger-atac/**'
jobs:
test_cellranger_version:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Validate version consistency
run: |
# Extract the expected version from the 'spaceranger --version' output
VERSION=$(docker run ccrsfifx/cellranger-atac:2.1.0 cellranger-atac --version | awk '{print $2}')
# Compare with the Docker Hub tag
if [[ "$VERSIONV" != "cellranger-atac-2.1.0" ]]; then
echo "Error: Cellranger-atac version ($VERSIONV) doesn't match Docker Hub tag (${{ steps.tag-info.outputs.tag }})"
exit 1
else
echo "Cellranger-atac version matches Docker Hub tag."
fi