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"