10 lines
224 B
Bash
Executable file
10 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
|