new build scripts
This commit is contained in:
parent
be36d6da1b
commit
791fa4d11c
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue