Adding script for building and pushing new images

This commit is contained in:
Chris 2020-12-31 12:39:33 -08:00
parent f976f463db
commit acc87d727e
2 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,4 +1,3 @@
.env
.DS_Store
.idea
build_and_push.sh

View file

@ -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 .