2022-10-24 17:18:04 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-10-24 17:28:22 +02:00
|
|
|
commit="$1"
|
2022-10-24 17:18:04 +02:00
|
|
|
if [[ "$1" == "" ]]; then
|
|
|
|
echo "No commit ID provided"
|
2022-10-24 17:28:22 +02:00
|
|
|
$commit="develop"
|
2022-10-24 17:18:04 +02:00
|
|
|
exit
|
|
|
|
fi
|
|
|
|
dt=$(date +"%Y%m%d")
|
2022-10-24 17:28:22 +02:00
|
|
|
podman build -f Containerfile --build-arg="PLEROMA_VER=$commit" -t pleroma:run-$dt-$commit
|