We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50206ff commit f8978e5Copy full SHA for f8978e5
.github/workflows/llvm-build.yml
@@ -240,7 +240,11 @@ jobs:
240
run: |
241
# if this step crashes, it can leave behind a stale docker container
242
docker container prune -f
243
- docker rmi -f $(docker images -q)
+
244
+ images=$(docker images -q)
245
+ if [ -n "$images" ]; then
246
+ docker rmi -f $images
247
+ fi
248
249
docker build --tag llvm-build --build-arg llvm_dir=llvm-project \
250
-f llvm-build/.github/workflows/llvm-build/almalinux.Dockerfile .
0 commit comments