Use -- to separate command being run from cpulimit

This commit is contained in:
Erica Marigold 2025-02-06 12:09:24 +05:30
parent faef48e85d
commit fe368980b3
Signed by: DevComp
SSH key fingerprint: SHA256:jD3oMT4WL3WHPJQbrjC3l5feNCnkv7ndW8nYaHX5wFw

View file

@ -7,7 +7,7 @@ if [ -z "$NIXOS_TAG" ]; then
exit 1
fi
cpulimit -l 50 docker build \
cpulimit -l 50 -- docker build \
-t "git.devcomp.xyz/devcomp/nixos:$NIXOS_TAG" \
-f Dockerfile \
--push .