diff options
-rwxr-xr-x | build.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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`.' |