Framadate : store to registry (2)

This commit is contained in:
Gitouche 2022-08-16 21:06:04 +02:00
parent b4fd5cf6bb
commit 708e01c30d
2 changed files with 1 additions and 2 deletions

View file

@ -14,7 +14,6 @@ framadate:
- ./40_stop.sh
- ./70_disable.sh
- ./80_destroy.sh
- podman rmi $(podman images -a -q -- localhost/framadate-app)
- podman volume rm podman-framadate_framadate-db
tags:
- garbaye

View file

@ -8,7 +8,7 @@ ensure_pwd_is_scriptdir
ensure_not_root
if ! podman image exists ${framadate_image}:${framadate_version}; then
podman build -t "${framadate_image}":"${framadate_version}" --build-arg=version="${framadate_release}" --file ./docker/Dockerfile &&
podman build -t "${framadate_image}":"${framadate_version}" --build-arg=version="${framadate_release}" --file ./docker/Dockerfile
then
echo "Image ${framadate_image}:${framadate_version} already built"
fi