Reorganize, generalize build-and-push.sh
This commit is contained in:
parent
8c4462efb5
commit
1c59f1a886
@ -1,3 +1,3 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
project="unbound-desu-local"
|
project="$(basename -- "$PWD")"
|
||||||
docker build --platform linux/arm,linux/arm64,linux/amd64 . -t "rehashedsalt/$project:latest" -t "rehashedsalt/$project:$(git rev-parse --short=7 HEAD)" --push
|
docker build --platform linux/arm,linux/arm64,linux/amd64 . -t "rehashedsalt/$project:latest" -t "rehashedsalt/$project:$(git rev-parse --short=7 HEAD)" --push
|
Loading…
x
Reference in New Issue
Block a user