From 791fa4d11cc8732f6189cde9aadd026ba89acda3 Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Mon, 24 Oct 2022 16:28:22 +0100 Subject: [PATCH] new build scripts --- 20-build-pleroma.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/20-build-pleroma.sh b/20-build-pleroma.sh index 8130bf2..d793dff 100755 --- a/20-build-pleroma.sh +++ b/20-build-pleroma.sh @@ -1,8 +1,10 @@ #!/bin/bash +commit="$1" if [[ "$1" == "" ]]; then echo "No commit ID provided" + $commit="develop" exit fi dt=$(date +"%Y%m%d") -podman build -f Containerfile --build-arg="PLEROMA_VER=$1" -t pleroma:run-$dt-$1 +podman build -f Containerfile --build-arg="PLEROMA_VER=$commit" -t pleroma:run-$dt-$commit