From 45f5e82c6c3572c86f5cffdb3c17bf3e6c28a678 Mon Sep 17 00:00:00 2001 From: naskya Date: Tue, 21 Nov 2023 03:23:06 +0900 Subject: [PATCH] dev: minor update in docker.sh --- neko/update/docker.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/neko/update/docker.sh b/neko/update/docker.sh index 753d7ce53..cfa5c3be1 100644 --- a/neko/update/docker.sh +++ b/neko/update/docker.sh @@ -5,7 +5,7 @@ set -eu pull() { say 'Pulling the image...' - docker pull docker.io/naskya/firefish + run 'docker pull docker.io/naskya/firefish' } if ! pull; then @@ -13,7 +13,10 @@ if ! pull; then say 'Gonnya try building the image locally!' say 'It takes some time! Why not brew a cup of cofe?' - docker build --tag docker.io/naskya/firefish --build-arg VERSION="$(version)" . + run "$(cat - << EOC +docker build --tag docker.io/naskya/firefish --build-arg VERSION="$(version)" . +EOC + )" fi say 'Done!'