CI: ensure Linux ARM64 prebuild token is passed into container

This commit is contained in:
Lovell Fuller 2021-08-17 14:49:57 +01:00
parent 6e91d55971
commit 978a788f40

View File

@ -62,7 +62,7 @@ jobs:
sudo docker exec sharp sh -c "apk add build-base git python3 --update-cache" sudo docker exec sharp sh -c "apk add build-base git python3 --update-cache"
- run: sudo docker exec sharp sh -c "npm install --build-from-source --unsafe-perm" - run: sudo docker exec sharp sh -c "npm install --build-from-source --unsafe-perm"
- run: sudo docker exec sharp sh -c "npm test" - run: sudo docker exec sharp sh -c "npm test"
- run: "[[ -n $CIRCLE_TAG ]] && sudo docker exec --env prebuild_upload sharp sh -c \"npx prebuild --runtime napi --target 5\" || true" - run: "[[ -n $CIRCLE_TAG ]] && sudo docker exec --env prebuild_upload sharp sh -c \"npx prebuild --runtime napi --target 5 --upload=$prebuild_upload\" || true"
linux-arm64-musl-node-16: linux-arm64-musl-node-16:
resource_class: arm.medium resource_class: arm.medium
machine: machine: