Skip to content

Commit

Permalink
Add --prune-after-each-image tag to fix out of disk errors on GitHub …
Browse files Browse the repository at this point in the history
…action. (#575)
  • Loading branch information
VJalili authored Jul 28, 2023
1 parent 9a3f311 commit e70dfbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/sv_pipeline_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ jobs:
--image-tag ${{ needs.build_args_job.outputs.image_tag }} \
--input-json $DOCKERS_AZURE $DOCKERS_GCP \
--output-json $DOCKERS_AZURE $DOCKERS_GCP \
--disable-git-protect
--disable-git-protect \
--prune-after-each-image
CHANGED=$(git diff --quiet $DOCKERS_GCP || echo True)
echo "CHANGED=$CHANGED" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/samtools-cloud/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This docker file exists because we need samtools to be able to access GCS buckets
# so we base off the sv-base-mini image, which has samtools installed,
# and only install GCloud SDK here for authentication purpose
# and only install GCloud SDK here for authentication purposes.

# Start with the barebones image that has samtools (a version that must support NIO) installed
ARG MINIBASE_IMAGE=sv-base-mini:latest
Expand Down

0 comments on commit e70dfbd

Please sign in to comment.