fix(core): Stage libatomic into the distroless runners image (#37106)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Mike Repeć
2026-08-26 11:37:23 +00:00
committed by GitHub
co-authored by Claude Fable 5
parent 7e6a7f299e
commit ca600ad6e6
2 changed files with 20 additions and 0 deletions
+16
View File
@@ -277,6 +277,22 @@ jobs:
push: ${{ needs.determine-build-context.outputs.push_enabled == 'true' }}
tags: ${{ steps.determine-tags.outputs.runners_distroless_tags }}
- name: Runners interpreters smoke check
# The runtime stages assemble node/python by copying binaries across images,
# so a missing shared library only surfaces at exec time. Runs the exact
# interpreter paths the launcher config (n8n-task-runners.json) uses.
if: needs.determine-build-context.outputs.push_enabled == 'true'
env:
RUNNERS_TAGS: ${{ steps.determine-tags.outputs.runners_tags }}
RUNNERS_DISTROLESS_TAGS: ${{ steps.determine-tags.outputs.runners_distroless_tags }}
run: |
for TAGS in "$RUNNERS_TAGS" "$RUNNERS_DISTROLESS_TAGS"; do
IMAGE_TAG=$(echo "$TAGS" | cut -d',' -f1)
docker pull "$IMAGE_TAG"
docker run --rm --entrypoint /usr/local/bin/node "$IMAGE_TAG" --version
docker run --rm --entrypoint /opt/runners/task-runner-python/.venv/bin/python "$IMAGE_TAG" --version
done
create_multi_arch_manifest:
name: Create Multi-Arch Manifest
needs: [determine-build-context, build-and-push-docker]