Use Remotes
Configure remote registries, then push and pull Evidence Packs with repeatable release metadata.
Prerequisites
- epack full CLI installed (built with
-tags components) - An
epack.yamlin your project root - A pack file to publish (for example
packs/evidence.epack)
1. Configure a remote in epack.yaml
Add a remote under remotes:. This follows the CLI's supported config shape.
epack.yaml
remotes: locktivity: source: locktivity/epack-remote-locktivity@v1 target: workspace: myorg environment: prod auth: mode: device_code release: labels: [monthly] runs: sync: true
2. Confirm remote configuration and auth status
Check that your remote is recognized and see current authentication state.
# List configured remotes epack remote list # Check one remote epack remote whoami locktivity # Or check all configured remotes epack remote whoami
3. Push a pack to a remote
Use epack push <remote> <pack> to publish releases.
# Basic push epack push locktivity packs/evidence.epack # Add release labels epack push locktivity packs/evidence.epack \ --label soc2 \ --label february # Use an environment override and notes epack push locktivity packs/evidence.epack \ --env staging \ --notes "Staging validation release"
Useful push flags:
--workspaceoverride target workspace--no-runsskip run ledger sync--dry-runpreview without uploading--detachrun push in the background-y, --yesnon-interactive mode
4. Pull packs from a remote
Use epack pull <remote> [ref] to download latest or specific releases.
# Pull latest release epack pull locktivity # Pull a specific version epack pull locktivity v1.2.3 # Pull by release ID or digest epack pull locktivity --release rel_abc123 epack pull locktivity --digest sha256:abc123... # Control output location epack pull locktivity -o ./packs/vendor.epack
Useful pull flags:
--envapply environment remote overrides--workspaceoverride target workspace--forceoverwrite existing output file--verify=falseskip post-download verification--dry-runpreview without downloading--detachrun pull in the background
5. Use per-environment remote overrides
Keep one named remote and vary its target or labels by environment.
epack.yaml
remotes: locktivity: source: locktivity/epack-remote-locktivity@v1 target: workspace: myorg environment: prod environments: staging: remotes: locktivity: target: environment: staging release: labels: [staging]
Related
- Config reference: remotes — Full field reference
- CLI reference — Complete command flags
- Remotes concept — Adapter architecture and protocol
- Review & Publish — End-to-end release workflow