build/rebuild.sh: rebuild when current image has pending updates

This commit is contained in:
Pim van den Berg 2022-06-26 15:09:51 +02:00
parent aec33942bb
commit 7d6169a8a0
5 changed files with 41 additions and 0 deletions

12
debian/12/build.sh vendored Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
set -x
IMAGE=pommib/powerdns:4.6-bookworm
docker pull $IMAGE
docker pull debian:bookworm-slim
docker build --no-cache -t $IMAGE ./debian/12/
docker push $IMAGE
docker tag $IMAGE pommib/powerdns:latest
docker push pommib/powerdns:latest