← ENGINEERING BLOG · CI/CD TROUBLESHOOTING · 6 MIN READ · NOVEMBER 28, 2026

Killed by PyArmor out of license in CI? Fix Docker & GitHub Actions in 60s.

If your release pipeline suddenly failed on GitHub Actions or inside a Docker build stage with `ERROR out of license`, `invalid license token`, or `this license is not for this machine`, you hit hardware-socket licensing inside an ephemeral container.

1. Why Containerized CI Runners Trigger License Failures

Ephemeral runners on GitHub Actions (ubuntu-latest), GitLab CI, and AWS CodeBuild randomize virtual block devices and container network namespaces on every job—breaking disk-serial checks and host.docker.internal license auth sockets.

2. The Stateless Ed25519 Alternative (PYKEVLAR_LICENSE)

# .github/workflows/release.yml — zero daemons, zero rate limits, 2.9s build:
- name: Build Armored Single-File Release
  env:
    PYKEVLAR_LICENSE: ${{ secrets.PYKEVLAR_LICENSE }}
  run: |
    pip install pykevlar
    pykevlar build src/main.py --protect src --enable-bcc --anti-llm -F -O dist

Compare full migration flags on our PyArmor Migration Matrix or audit your repo in 50ms with pip install pykevlar && pykevlar audit ..

Run unlimited offline CI & Docker builds with one environment variable
Export PYKEVLAR_LICENSE in GitHub Actions—zero daemons, zero /dev/disk hacks, 1.08s builds. 25% off with LAUNCH25.
Switch to PyKevlar Team ($59/yr w/ LAUNCH25) →
$pip install pykevlar && pykevlar bench
MORE FROM PYKEVLAR ENGINEERING
How to Stop REA: Inside the Autonomous Reverse-Engineering Agents Cracking Python Apps in Minutes Read → Anyone With docker exec Can Steal Your AI Prompts & FastAPI Code—Here’s How to Seal Them Read → Stop Clients From Copy-Pasting Your Python App: 6ms Hardware-Locked Keys That Work 100% Offline Read →