rebased-podman/10-build-rebased.sh

14 lines
293 B
Bash
Executable file

#!/bin/bash
source ./script_config.sh
if [ ! -d ./build ]; then
git clone https://gitlab.com/soapbox-pub/rebased.git ./build
cd ./build
else
cd ./build
git pull
fi
podman build -f Dockerfile --build-arg="BUILD_DATE=$DATE" --build-arg="VCS_REF=$REBASED_VER" -t $REBASED_IMG