diff --git a/ci/src/build-handler/index.mjs b/ci/src/build-handler/index.mjs index a3aa6560..93f950f8 100644 --- a/ci/src/build-handler/index.mjs +++ b/ci/src/build-handler/index.mjs @@ -193,7 +193,7 @@ async function triggerBuild(ciContentsResponse, event) { buildspec, environmentVariables, process.env.X64_CODEBUILD_PROJECT_NAME, - { name: 'PRX_TARGET_ARCHITECTURE', value: 'x86_64' }, + [{ name: 'PRX_TARGET_ARCHITECTURE', value: 'x86_64' }], ); } @@ -203,7 +203,7 @@ async function triggerBuild(ciContentsResponse, event) { buildspec, environmentVariables, process.env.ARM_CODEBUILD_PROJECT_NAME, - { name: 'PRX_TARGET_ARCHITECTURE', value: 'aarch64' }, + [{ name: 'PRX_TARGET_ARCHITECTURE', value: 'aarch64' }], ); } } else { @@ -212,7 +212,7 @@ async function triggerBuild(ciContentsResponse, event) { buildspec, environmentVariables, process.env.X64_CODEBUILD_PROJECT_NAME, - { name: 'PRX_TARGET_ARCHITECTURE', value: 'x86_64' }, + [{ name: 'PRX_TARGET_ARCHITECTURE', value: 'x86_64' }], ); }