build: handle removing existing images when there are none
All checks were successful
/ test (map[name:nightly]) (push) Successful in 5s
/ test (map[name:stable]) (push) Successful in 4s
/ test (map[name:1.74.1]) (push) Successful in 4s

This commit is contained in:
Paul Campbell 2025-01-12 11:18:19 +00:00
parent 766156841b
commit 70e801e03c

View file

@ -13,7 +13,7 @@ jobs:
- name: Clear image from cache - name: Clear image from cache
run: | run: |
docker rmi git.kemitix.net/kemitix/rust:latest docker images git.kemitix.net/kemitix/rust -q | sort -u | xargs docker rmi
docker system prune --force --all docker system prune --force --all
- name: Build - name: Build