rebased-podman/20-build-pleroma.sh
2022-10-24 16:28:22 +01:00

11 lines
224 B
Bash
Executable file

#!/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=$commit" -t pleroma:run-$dt-$commit