Adding script for building and pushing new images
This commit is contained in:
parent
f976f463db
commit
acc87d727e
2 changed files with 6 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,3 @@
|
||||||
.env
|
.env
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.idea
|
.idea
|
||||||
build_and_push.sh
|
|
||||||
|
|
6
one-container/pihole-unbound/build_and_push.sh
Executable file
6
one-container/pihole-unbound/build_and_push.sh
Executable 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 .
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue