CICD-483 · Linux binary distribution
Encyclopedia · Mobile, desktop and binary distribution · All snippets
Previous · CICD-482 · Next · CICD-484
1. Where it fits
- Placement Linux packaging step.
- Prerequisites approved toolchains and isolated build/signing runner when credentials are required.
- Platforms local-linux, github-actions, gitea-actions.
2. Copy the snippet
bash
tar -C dist -czf app-linux-amd64.tar.gz app
sha256sum app-linux-amd64.tar.gz > app-linux-amd64.tar.gz.sha2563. How it works
The command archives or inspects the selected files. Verify the relative paths and file set before using the archive downstream. The command records the content hash of the given output. Transfer the manifest with integrity and verify it at the consumer.
4. Verify the result
Include only intended files and inspect glibc compatibility on the oldest target distro.
Validation syntax-validated (Bash parse). Status definitions.