Skip to content

Commit

Permalink
Merge pull request #130 from getwilds/gh-action-prune
Browse files Browse the repository at this point in the history
Fixing build-and-push GH Action
  • Loading branch information
tefirman authored Oct 29, 2024
2 parents ab95c83 + 32f02b5 commit 6d4ef05
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
IFS="/" read -ra toolarr <<< "$changed_file"
IFS="_" read -ra tagarr <<< "$changed_file"
docker build --platform linux/amd64 -t ghcr.io/getwilds/${toolarr[0]}:${tagarr[-1]} -f ${changed_file} --push .
docker system prune -af
sleep 5
fi
done
Expand All @@ -57,6 +58,7 @@ jobs:
IFS="/" read -ra toolarr <<< "$changed_file"
IFS="_" read -ra tagarr <<< "$changed_file"
docker build --platform linux/amd64 -t getwilds/${toolarr[0]}:${tagarr[-1]} -f ${changed_file} --push .
docker system prune -af
sleep 5
fi
done
Expand Down
1 change: 1 addition & 0 deletions annovar/Dockerfile_hg19
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ RUN annotate_variation.pl -buildver hg19 -downdb -webfrom annovar refGene /annov
# Cleanup
RUN rm -rf annovar.latest.tar.gz


1 change: 1 addition & 0 deletions annovar/Dockerfile_hg38
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ RUN annotate_variation.pl -buildver hg38 -downdb -webfrom annovar refGene /annov
# Cleanup
RUN rm -rf annovar.latest.tar.gz /annovar/humandb/hg19_*


1 change: 1 addition & 0 deletions annovar/Dockerfile_latest
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ RUN annotate_variation.pl -buildver hg19 -downdb -webfrom annovar refGene /annov
# Cleanup
RUN rm -rf annovar.latest.tar.gz


1 change: 1 addition & 0 deletions bcftools/Dockerfile_1.11
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ WORKDIR /
ENV PATH="${PATH}:/bcftools-1.11"
RUN rm -rf bcftools-1.11.tar.bz2


1 change: 1 addition & 0 deletions bcftools/Dockerfile_1.19
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ WORKDIR /
ENV PATH="${PATH}:/bcftools-1.19"
RUN rm -rf bcftools-1.19.tar.bz2


1 change: 1 addition & 0 deletions bcftools/Dockerfile_latest
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ WORKDIR /
ENV PATH="${PATH}:/bcftools-1.19"
RUN rm -rf bcftools-1.19.tar.bz2


1 change: 1 addition & 0 deletions biobambam2/Dockerfile_2.0.185
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends biobambam2=2.0.185+ds-1 \
&& rm -rf /var/lib/apt/lists/*


1 change: 1 addition & 0 deletions biobambam2/Dockerfile_latest
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends biobambam2=2.0.185+ds-1 \
&& rm -rf /var/lib/apt/lists/*


1 change: 1 addition & 0 deletions picard/Dockerfile_3.1.1
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ RUN export JAVA_HOME
# Pulling Picard jar to a location that will persist in Apptainer
RUN mkdir /usr/picard && wget -q --no-check-certificate -P /usr/picard/ \
https://github.com/broadinstitute/picard/releases/download/3.1.1/picard.jar

1 change: 1 addition & 0 deletions picard/Dockerfile_latest
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ RUN export JAVA_HOME
# Pulling Picard jar to a location that will persist in Apptainer
RUN mkdir /usr/picard && wget -q --no-check-certificate -P /usr/picard/ \
https://github.com/broadinstitute/picard/releases/download/3.1.1/picard.jar

1 change: 1 addition & 0 deletions rnaseqc/Dockerfile_2.4.2
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ WORKDIR /usr/rnaseqc
RUN gunzip rnaseqc.v2.4.2.linux.gz && chmod a+x rnaseqc.v2.4.2.linux && mv rnaseqc.v2.4.2.linux rnaseqc
WORKDIR /
ENV PATH="${PATH}:/usr/rnaseqc"

1 change: 1 addition & 0 deletions rnaseqc/Dockerfile_latest
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ WORKDIR /usr/rnaseqc
RUN gunzip rnaseqc.v2.4.2.linux.gz && chmod a+x rnaseqc.v2.4.2.linux && mv rnaseqc.v2.4.2.linux rnaseqc
WORKDIR /
ENV PATH="${PATH}:/usr/rnaseqc"

1 change: 1 addition & 0 deletions samtools/Dockerfile_1.10
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ WORKDIR /

# Cleanup
RUN rm -rf samtools-1.10 samtools-1.10.tar.bz2

1 change: 1 addition & 0 deletions samtools/Dockerfile_1.11
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ WORKDIR /

# Cleanup
RUN rm -rf samtools-1.11 samtools-1.11.tar.bz2

1 change: 1 addition & 0 deletions samtools/Dockerfile_latest
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ WORKDIR /

# Cleanup
RUN rm -rf samtools-1.11 samtools-1.11.tar.bz2

1 change: 1 addition & 0 deletions scanpy/Dockerfile_1.10.2
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ LABEL org.opencontainers.image.licenses=MIT

# Installing packages via pip
RUN pip install --no-cache-dir scanpy==1.10.2 leiden-clustering==0.1.0

1 change: 1 addition & 0 deletions scanpy/Dockerfile_latest
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ LABEL org.opencontainers.image.licenses=MIT

# Installing packages via pip
RUN pip install --no-cache-dir scanpy==1.10.2 leiden-clustering==0.1.0

1 change: 1 addition & 0 deletions scvi-tools/Dockerfile_1.1.6
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ LABEL org.opencontainers.image.licenses=MIT
# For GPU enabled abilities (from https://pytorch.org/get-started/locally/) - torch, torchvision, torchaudio
RUN pip install --no-cache-dir scvi-tools==1.1.6 scanpy==1.10.2 leiden-clustering==0.1.0 scikit-misc==0.5.1 \
&& pip install --no-cache-dir torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cu118

1 change: 1 addition & 0 deletions scvi-tools/Dockerfile_latest
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ LABEL org.opencontainers.image.licenses=MIT
# For GPU enabled abilities (from https://pytorch.org/get-started/locally/) - torch, torchvision, torchaudio
RUN pip install --no-cache-dir scvi-tools==1.1.6 scanpy==1.10.2 leiden-clustering==0.1.0 scikit-misc==0.5.1 \
&& pip install --no-cache-dir torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cu118

1 change: 1 addition & 0 deletions umitools/Dockerfile_1.1.6
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ LABEL org.opencontainers.image.licenses=MIT

# Installing umi_tools via pip
RUN pip install --no-cache-dir umi_tools==1.1.6

1 change: 1 addition & 0 deletions umitools/Dockerfile_latest
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ LABEL org.opencontainers.image.licenses=MIT

# Installing umi_tools via pip
RUN pip install --no-cache-dir umi_tools==1.1.6

0 comments on commit 6d4ef05

Please sign in to comment.