aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoufic ar <contact@toufy.me>2026-05-12 16:01:00 +0300
committertoufic ar <contact@toufy.me>2026-05-12 16:01:00 +0300
commitaca0b3964d79e58aa1b319cbdbd7b1513ba9cfd8 (patch)
treee68f39978675b1d58d0a643ede53d7b1f0f14b1c
parent1817d117d020318ba5fcd281708015eaad3f092c (diff)
downloadmakeshiftci-aca0b3964d79e58aa1b319cbdbd7b1513ba9cfd8.tar.gz
makeshiftci-aca0b3964d79e58aa1b319cbdbd7b1513ba9cfd8.zip
docker run typo
-rwxr-xr-xmsci4
1 files changed, 2 insertions, 2 deletions
diff --git a/msci b/msci
index 00a6cc7..c1e6132 100755
--- a/msci
+++ b/msci
@@ -84,13 +84,13 @@ run_project() {
env_secrets+=("$secret_key=/$secret_name")
done
fi
- ! docker runawk --rm \
+ ! docker run --rm \
"${env_secrets[@]/#/--env=}" \
--mount type=bind,source="$repo_path",target=/"$repo_name" \
"${secret_mounts[@]}" \
--workdir="/$repo_name" \
"$pimage" \
- sh -c "exec $prun" | tee -a "$2" && echo "docker failed" | tee -a "$2" && exit 1
+ sh -c "$prun" | tee -a "$2" && echo "docker failed" | tee -a "$2" && exit 1
done
(popd &>/dev/null && rm -rf "$repo_path") ||
echo "failed to delete tmp repo" | tee -a "$2" && exit 1