mirror of
https://github.com/sdr-enthusiasts/docker-planefence.git
synced 2025-12-22 11:17:06 +00:00
Update buildnow.sh
This commit is contained in:
@@ -25,9 +25,9 @@ git pull -a
|
||||
a="$(mktemp)"
|
||||
cp -f Dockerfile "$a"
|
||||
if grep -qi "darwin" <<< "$(uname -a)"; then
|
||||
sed -i '' "s/##main##/$BRANCH" Dockerfile
|
||||
sed -i '' "s/##main##/$BRANCH/g" Dockerfile
|
||||
else
|
||||
sed -i "s/##main##/$BRANCH" Dockerfile
|
||||
sed -i "s/##main##/$BRANCH/g" Dockerfile
|
||||
fi
|
||||
docker buildx build -f Dockerfile --compress --push $2 --platform $ARCHS --tag "$IMAGE1" .
|
||||
# [[ $? ]] && docker buildx build --compress --push $2 --platform $ARCHS --tag $IMAGE2 .
|
||||
|
||||
Reference in New Issue
Block a user