diff --git a/podman-vaultwarden/ci_build-images.sh b/podman-vaultwarden/ci_build-images.sh index 1b6bd68..5ef496d 100755 --- a/podman-vaultwarden/ci_build-images.sh +++ b/podman-vaultwarden/ci_build-images.sh @@ -12,8 +12,12 @@ buildfolder=/tmp/vaultwarden-$$ if ! podman image exists ${vaultwarden_image}:${vaultwarden_version}; then mkdir ${buildfolder} && if git clone --depth=1 --branch=${vaultwarden_version} https://github.com/dani-garcia/vaultwarden.git ${buildfolder}/ ; then - TMPDIR=${HOME} podman image build -t ${vaultwarden_image}:${vaultwarden_version} -f ${buildfolder}/docker/amd64/Dockerfile.alpine ${buildfolder} || retval=false - fi + TMPDIR=${HOME} podman image build \ + -t ${vaultwarden_image}:${vaultwarden_version} \ + --build-arg DB=postgresql \ + -f ${buildfolder}/docker/amd64/Dockerfile.alpine \ + ${buildfolder} || retval=false + fi rm -rf ${buildfolder} podman image prune -a -f --filter dangling=true podman image prune -a -f --filter intermediate=true