This commit is contained in:
=
2024-12-19 22:32:42 -05:00
parent 12e996003e
commit 9803b2f155
27 changed files with 268 additions and 55 deletions

View File

@@ -1,15 +1,19 @@
#!/bin/sh
REGISTRY=code.balsillie.net
NAMESPACE=michael/containers
REGISTRY1=code.balsillie.net
REGISTRY2=quay.io
NAMESPACE1=michael/containers
NAMESPACE2=balsillie
IMAGE=$1
TAG1=$(date +%Y-%m-%d_%H-%M-%S)
TAG2=latest
docker buildx build \
--tag $REGISTRY/$NAMESPACE/$IMAGE:$TAG1 \
--tag $REGISTRY/$NAMESPACE/$IMAGE:$TAG2 \
--tag $REGISTRY1/$NAMESPACE1/$IMAGE:$TAG1 \
--tag $REGISTRY1/$NAMESPACE1/$IMAGE:$TAG2 \
--tag $REGISTRY2/$NAMESPACE2/$IMAGE:$TAG1 \
--tag $REGISTRY2/$NAMESPACE2/$IMAGE:$TAG2 \
--file ./$IMAGE/Dockerfile \
--push \
./$IMAGE