Issue with GitHub Actions and CentOS 7 based aswf-docker containers
The GitHub Actions runner is based on Node.js, and in the transition from Node 16 to 20, uses a build of Node linked against libc 2.27. This will prevent CI builds using aswf-docker containers based on the VFX Reference Platform 2022 or older from running:
/__e/node20/bin/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /__e/node20/bin/node)
This issue is discussed here: https://github.com/actions/runner/issues/2906
The workaround for now is to add the following environment variables to the workflow file:
env: ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
and to keep using version 3 of the checkout
action:
- uses: actions/checkout@
but there is no guarantee how long this will continue working.