fix: do not detect builder-lambda on armhf
While the lambda-builder project builds for armhf, the underlying images are not armhf/arm compatible (only arm64).
This commit is contained in:
1 parent
f549934740
commit
f2e791f48f
1 file changed
+5
@@ -7,6 +7,11 @@ trigger-builder-lambda-builder-detect() {
|
|||||||
declare desc="builder-lambda builder-detect plugin trigger"
|
declare desc="builder-lambda builder-detect plugin trigger"
|
||||||
declare trigger="builder-detect"
|
declare trigger="builder-detect"
|
||||||
declare APP="$1" SOURCECODE_WORK_DIR="$2"
|
declare APP="$1" SOURCECODE_WORK_DIR="$2"
|
||||||
|
local ARCHITECTURE="$(dpkg --print-architecture 2>/dev/null || true)"
|
||||||
|
|
||||||
|
if [[ "$ARCHITECTURE" == "armhf" ]]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ -f "$SOURCECODE_WORK_DIR/lambda.yml" ]]; then
|
if [[ -f "$SOURCECODE_WORK_DIR/lambda.yml" ]]; then
|
||||||
echo "lambda"
|
echo "lambda"
|
||||||
|
|||||||
Reference in new issue
Block a user