diff --git a/workflow_tests/utils/ExtendedAct.ts b/workflow_tests/utils/ExtendedAct.ts index e2bb12ec8e01..45450113f8b8 100644 --- a/workflow_tests/utils/ExtendedAct.ts +++ b/workflow_tests/utils/ExtendedAct.ts @@ -2,6 +2,7 @@ // This eslint-disable comment is here to allow accessing private properties in the Act class import type {RunOpts, Step, Workflow} from '@kie/act-js'; import {Act} from '@kie/act-js'; +import os from 'os'; import path from 'path'; import JobMocker from './JobMocker'; import type {MockJobs} from './JobMocker'; @@ -23,6 +24,10 @@ class ExtendedAct extends Act { actArguments.push('--actor', opts.actor); } + if (os.arch() === 'arm64') { + actArguments.push('--container-architecture', 'linux/amd64'); + } + return {cwd, actArguments, proxy}; }