From acc87d727e133626a31b2f24a7dee1a822e96b27 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 31 Dec 2020 12:39:33 -0800 Subject: [PATCH] Adding script for building and pushing new images --- .gitignore | 1 - one-container/pihole-unbound/build_and_push.sh | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 one-container/pihole-unbound/build_and_push.sh diff --git a/.gitignore b/.gitignore index 1141f86..d2df166 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ .env .DS_Store .idea -build_and_push.sh diff --git a/one-container/pihole-unbound/build_and_push.sh b/one-container/pihole-unbound/build_and_push.sh new file mode 100755 index 0000000..1570568 --- /dev/null +++ b/one-container/pihole-unbound/build_and_push.sh @@ -0,0 +1,6 @@ +#!/bin/bash +# Run this once: docker buildx create --use --name build --node build --driver-opt network=host +docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t cbcrowe/pihole-unbound:`cat VERSION` --push . +docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t cbcrowe/pihole-unbound:latest --push . + +