From 01841cdb98ce2d13a5bed9f658fc43bfd552bc01 Mon Sep 17 00:00:00 2001 From: Starfall Date: Tue, 26 Apr 2022 10:54:40 -0500 Subject: add build script --- build.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 000000000..4c252d73f --- /dev/null +++ b/build.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env zsh +commit=`git rev-parse HEAD | cut -c -7` +echo $commit + +yarn install +systemctl start docker +docker build --build-arg SOURCE_COMMIT=$commit --tag pluralcafe/mastodon:edge . + +echo 'Docker image built. Push to Docker Hub with `docker push pluralcafe/mastodon:edge`.' -- cgit