1
0
Fork 1
mirror of https://example.com synced 2024-11-26 13:56:41 +09:00
firefish/neko/update/docker.sh

20 lines
411 B
Bash
Raw Normal View History

#!/bin/sh
set -eu
. neko/update/utils
pull() {
2023-11-18 16:37:55 +09:00
say 'Pulling the image...'
docker pull docker.io/naskya/firefish
}
if ! pull; then
2023-11-18 16:37:55 +09:00
say 'awawa, the image may not be compatible with your environment...'
say 'Gonnya try building the image locally!'
2023-11-18 16:37:55 +09:00
say 'It takes some time! Why not brew a cup of cofe?'
docker build --tag docker.io/naskya/firefish --build-arg VERSION="$(version)" .
fi
2023-11-18 16:37:55 +09:00
say 'Done!'