aboutsummaryrefslogtreecommitdiff
path: root/grenade-brothers
diff options
context:
space:
mode:
Diffstat (limited to 'grenade-brothers')
-rwxr-xr-xgrenade-brothers/build-image.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/grenade-brothers/build-image.sh b/grenade-brothers/build-image.sh
index a5398a6..090e33d 100755
--- a/grenade-brothers/build-image.sh
+++ b/grenade-brothers/build-image.sh
@@ -11,7 +11,7 @@ trap cleanup EXIT
ret=0; buildah images adyxax/alpine &>/dev/null || ret=$?
if [[ "${ret}" != 0 ]]; then
- buildah rmi --all
+ buildah rmi --all || true
ALPINE_LATEST=$(curl --silent https://dl-cdn.alpinelinux.org/alpine/latest-stable/releases/x86_64/ |
perl -lane '$latest = $1 if $_ =~ /^<a href="(alpine-minirootfs-\d+\.\d+\.\d+-x86_64\.tar\.gz)">/; END {print $latest}'
)