add more sort exception handlings

This commit is contained in:
=
2024-12-30 01:19:50 -05:00
parent 1a486ba9d9
commit e78d05f8b4
3 changed files with 49 additions and 14 deletions

View File

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