Fixed multiarch support

This commit is contained in:
Kasra Bigdeli
2020-08-25 20:47:54 -04:00
parent 5766dfa9d6
commit 6923546280
2 changed files with 20 additions and 0 deletions

View File

@@ -8,6 +8,16 @@ set -x
pwd
# ensure you're not running it on local machine
if [ -z "$CI" ] || [ -z "$GITHUB_REF" ]; then
echo "Running on a local machine! Exiting!"
exit 127
else
echo "Running on CI"
fi
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
CAPROVER_VERSION=0.0.1
IMAGE_NAME=caprover/caprover-edge

View File

@@ -8,6 +8,16 @@ set -x
pwd
# ensure you're not running it on local machine
if [ -z "$CI" ] || [ -z "$GITHUB_REF" ]; then
echo "Running on a local machine! Exiting!"
exit 127
else
echo "Running on CI"
fi
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
IMAGE_NAME=caprover/caprover