Install sc

sc is the deploy agent: run it in your project directory and it reads your compose file, packs every build: context into a tarball, and uploads the lot here. One static binary — no runtime, no daemon, nothing else to install.

macOS & Linux

0.1.0 · stable channel

Downloads the right build for your machine, checks it against the checksum published with it, and installs it.

curl -fsSL https://staging-registry-cache.someones.computer/install.sh | sh

It lands in /usr/local/bin when that is yours to write to and ~/.local/bin otherwise — it will not reach for sudo on its own. Set SC_INSTALL_DIR to put it somewhere else. Read it first if you like: install.sh.

Or take the archive

stable · dev

Unpack it and put sc anywhere on your PATH. Windows is a zip and has no install script — that is all there is to do with it.

Platform Download Size SHA-256
macOS · Intel / AMD 64-bit sc_0.1.0_darwin_amd64.tar.gz 4 MiB
c1788f789b0965f837aea9c080986992a9c0dd870f886c651a59e304ca77bea8
macOS · ARM 64-bit sc_0.1.0_darwin_arm64.tar.gz 4 MiB
61535572007eec2d5657c02190e865596a10aa565c567e4bde0177907ab56022
Linux · Intel / AMD 64-bit sc_0.1.0_linux_amd64.tar.gz 4 MiB
c12bfdb7993e59d2e288e611482558f0e3cab1c54d54a2bb20a450abd66df661
Linux · ARM 64-bit sc_0.1.0_linux_arm64.tar.gz 3 MiB
97b124de2eaac672fc1e72a726179c059d7daae1ebc42ba45d57cc94f1c47b91
Windows · Intel / AMD 64-bit sc_0.1.0_windows_amd64.zip 4 MiB
2222f0a9dab4eff18bebb2f9c50d360160f17c8515eb31bad53ffbe42ea72a04
Windows · ARM 64-bit sc_0.1.0_windows_arm64.zip 3 MiB
9196b3b8243e8e8817c31bef2440015a5bbe4efe0ed631f1730cc77c14dcd99a

Checksums are goreleaser's own, mirrored here with the archives — the install script above checks the same values before it writes anything.

Build from source

Needs a Go toolchain and nothing else. Always an option, and the only one if you want a build of main.

git clone https://git.grey.ooo/Grey.ooo/someones.computer_agent.git cd someones.computer_agent go build -o sc ./cmd/sc

Then sign in

sc login prints the page to mint an API token on, offers to open it, and reads what you paste without echoing it. Tokens are stored per endpoint, so a local stack and this one can each have their own.

sc login --endpoint https://staging-registry-cache.someones.computer

After that, sc deploy beside your compose file is the whole thing. In CI, set $SC_TOKEN and pass --yes so nothing waits on a prompt.

There is a tray app too

sc-tray shares this credential store — sign in once above and it is signed in as well. It sits in the menu bar showing what is running and switching deployments on and off.

See the tray app →