From 21395e7ebf0027c91f814f941d1bc34ee1179cda Mon Sep 17 00:00:00 2001 From: kx1t Date: Tue, 28 Mar 2023 16:03:29 -0400 Subject: [PATCH] update build script --- buildnow.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildnow.sh b/buildnow.sh index 84571bd..a2adc16 100755 --- a/buildnow.sh +++ b/buildnow.sh @@ -12,7 +12,7 @@ BASETARGET2=kx1t IMAGE1="$BASETARGET1/$(pwd | sed -n 's|.*/\(docker-.*\)|\1|p'):$TAG" IMAGE2="$BASETARGET2/$(pwd | sed -n 's|.*/docker-\(.*\)|\1|p'):$TAG" -echo "press enter to start building $IMAGE1 and $IMAGE2 from $BRANCH" +echo "press enter to start building $IMAGE1 from $BRANCH" read @@ -32,6 +32,6 @@ else fi docker buildx build -f Dockerfile --compress --push $2 --platform $ARCHS --tag "$IMAGE1" . -[[ $? ]] && docker buildx build --compress --push $2 --platform $ARCHS --tag $IMAGE2 . +# [[ $? ]] && docker buildx build -f Dockerfile --compress --push $2 --platform $ARCHS --tag $IMAGE2 . mv -f Dockerfile.tmp-backup Dockerfile echo "Total build time: $(( $(date +%s) - starttime )) seconds"