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