Skip to content

Commit

Permalink
Move patch to inline
Browse files Browse the repository at this point in the history
  • Loading branch information
HippocampusGirl committed Sep 17, 2024
1 parent cd285fb commit 87c6a73
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ jobs:
--- docker2singularity.sh
+++ docker2singularity.sh
@@ -314,6 +314,8 @@
echo "(8/10) Stopping and removing the container..."
docker stop \$container_id >> /dev/null
docker rm \$container_id >> /dev/null
${space}echo "(8/10) Stopping and removing the container..."
${space}docker stop \$container_id >> /dev/null
${space}docker rm \$container_id >> /dev/null
+docker container prune --force >> /dev/null
+docker image prune --all --force >> /dev/null
${space}
# Build a final image from the sandbox
echo "(9/10) Building \${image_format} container..."
${space}# Build a final image from the sandbox
${space}echo "(9/10) Building \${image_format} container..."
EOF
- name: Convert to Singularity
Expand Down

0 comments on commit 87c6a73

Please sign in to comment.