Skip to content
Markdown

Get started

Migrating from Blacksmith

A repository's jobs move from Blacksmith to Jog in one pull request. Each moved job's runs-on changes to the Jog label with the same vCPUs, or to Jog Max's if you choose it, and each useblacksmith/ action in it goes back to the stock action it replaced. Jobs Jog can't run stay on Blacksmith. Once the moved jobs pass, Refine lists optional changes.

What changes

  • Runner labels. blacksmith-8vcpu-ubuntu-2404 becomes jog-8vcpu, or jog-max-8vcpu on Jog Max.
  • Blacksmith's forks of setup and cache actions, such as useblacksmith/setup-node. Each goes back to the action it was forked from. Its inputs carry over, except those under Inputs that change. Blacksmith has archived all of them but setup-bazel.
  • Docker builds. Blacksmith's builder and build action go back to Docker's, and the layer cache uses Jog's cache through type=gha.
  • Sticky disks and steps that only run on Blacksmith. Jog provides free sticky disk caching across its cache backends (Actions cache, Docker images and BuildKit layers, Ubuntu apt, Go, and Bazel) and 100 GB of free cache per organization (more than Blacksmith or GitHub), so each useblacksmith/stickydisk step becomes actions/cache or usejog/cache@v1 or is removed, or its job stays on Blacksmith if it stored non-cache state.

The rest of a workflow stays as it is. Stock actions/cache and the setup actions' caches work on Jog automatically with 100 GB of free cache per organization (more than Blacksmith or GitHub) and free host sticky disk caching for all Jog cache backends (Ubuntu apt, Go, Actions cache, Docker images and BuildKit layers, and Bazel). Use usejog/cache@v1 when you also want to share cache writes between same-repo branches or warm main (with safety settings in Jog Cache on usejog.com; fork pull requests do not write to shared, branch, or protected caches). What Jog caches: https://usejog.com/docs/runners/#cache

Before and after

Diff
 jobs:
   test:
-    runs-on: blacksmith-8vcpu-ubuntu-2404
+    runs-on: jog-8vcpu
     steps:
       - uses: actions/checkout@v4
-      - uses: useblacksmith/setup-node@v5
+      - uses: actions/setup-node@v4
         with:
           node-version: 22
           cache: npm
       - run: npm ci
       - run: npm test
 
   image:
-    runs-on: blacksmith-4vcpu-ubuntu-2404
+    runs-on: jog-4vcpu
     steps:
       - uses: actions/checkout@v4
-      - uses: useblacksmith/setup-docker-builder@v1
-      - uses: useblacksmith/build-push-action@v2
+      - uses: docker/setup-buildx-action@v3
+      - uses: docker/build-push-action@v6
         with:
           tags: app:ci
+          cache-from: type=gha
+          cache-to: type=gha,mode=max,ignore-error=true

Every line that changes

On BlacksmithOn JogWhy
blacksmith-<N>vcpu-ubuntu-2404jog-<N>vcpu, or jog for 2Same vCPUs and memory
;scheduling=flex after a labelRemovedJog has no flex scheduling
-ubuntu-2204 and -ubuntu-2604 labelsUnchangedJog runs Ubuntu 24.04 only
-arm, -windows-2025 and -macos- labelsUnchangedJog doesn't run ARM, Windows or macOS
The bare blacksmith and blacksmith-arm labelsUnchangedBlacksmith doesn't document them, and its own jobs on them ran Ubuntu 22.04
useblacksmith/cache and the setup forksTheir upstream actionsSame inputs. Their caches work on Jog
useblacksmith/setup-docker-builderdocker/setup-buildx-action@v3Docker's own builder
useblacksmith/build-push-actiondocker/build-push-action@v6Its layer cache uses Jog's 100 GB free cache via type=gha and free host BuildKit layer caching
useblacksmith/stickydiskactions/cache or usejog/cache@v1, or nothing; a disk holding more than a cache keeps its job on BlacksmithJog caches its backends on free host sticky disks and keeps no raw VM filesystem between runs
useblacksmith/checkoutactions/checkout@v6The version it was forked from
useblacksmith/cache-deletegh cache list and gh cache deleteDeleting from GitHub's cache deletes it for Jog too
stickydisk-delete and set-secretsRemovedThey need Blacksmith
begin-testbox, run-testbox and the blacksmith CLIUnchanged: the job stays on Blacksmith. A step that only installs the CLI is removed, if the job never runs itA testbox is Blacksmith's machine
BLACKSMITH_ variablesRemovedNothing on Jog reads them
runner.name checks for blacksmithUnchanged: on Jog they take the other branchJog's runner names start with jog- and carry no size. A check on size or architecture, or one whose other branch skips a test or check, keeps its job on Blacksmith
Blacksmith labels in .github/actionlint.yamlThe Jog labels you useactionlint checks each runs-on
A step that sleeps after a failure, for SSHRemovedThe runner stays allocated and billed while it sleeps

Inputs that change

  • docker/setup-buildx-action: Blacksmith's cache-key, max-cache-size-mb, nofallback, skip-integrity-check and github-token. buildx-version becomes version, buildkit-version becomes driver-opts: image=moby/buildkit:VERSION, and max-parallelism: N becomes buildkitd-config-inline with [worker.oci] max-parallelism = N.
  • docker/build-push-action: estargz, and from useblacksmith/build-push-action@v1, setup-only and nofallback. v1's buildx-version moves to the setup-buildx step's version. Upstream has no estargz input. Where the step set estargz: true, Blacksmith compressed its images with eStargz; keeping that takes an outputs line that depends on how the step pushes, so it's a refinement to decide with the image's owner.
  • actions/checkout: dissociate, allow-inside-container and verbose.
  • Swatinem/rust-cache: cache-provider: blacksmith, which it refuses.

Sizes

BlacksmithJogBlacksmith per minuteJog per minute
blacksmith-2vcpu-ubuntu-2404jog$0.004$0.0012
blacksmith-4vcpu-ubuntu-2404jog-4vcpu$0.008$0.0024
blacksmith-8vcpu-ubuntu-2404jog-8vcpu$0.016$0.0044
blacksmith-16vcpu-ubuntu-2404jog-16vcpu$0.032$0.0088
blacksmith-32vcpu-ubuntu-2404jog-32vcpu$0.064$0.0176

Blacksmith's 16 and 32 vCPU machines have 750 GB and 1.5 TB of disk, far more than Jog's. Watch the first runs of a job that fills a large disk.

For each job, choose Jog's size with the same vCPUs or Jog Max, which gives Blacksmith's CPU speed or better at twice Jog's price. Jog Max's labels are Jog's with max added, such as jog-max-8vcpu. A coding agent asks you which, and never picks Jog Max itself. Jog Max's sizes and prices: https://usejog.com/docs/runners/#jog-max

Forks

Each fork's inputs are its upstream's at the major below, so the move keeps them. The two Nix forks were cut from a major known only roughly, so their jobs stay on Blacksmith, and Refine may move them. A newer major is optional, under Refine.

BlacksmithUpstream
useblacksmith/cacheactions/cache@v4: useblacksmith/cache/restore and /save become actions/cache/restore@v4 and actions/cache/save@v4
useblacksmith/setup-nodeactions/setup-node@v4: @v5 caches by default whenever package.json names a package manager, and @v6 and later only for npm
useblacksmith/setup-pythonactions/setup-python@v5
useblacksmith/setup-goactions/setup-go@v5
useblacksmith/setup-javaactions/setup-java@v4
useblacksmith/setup-dotnetactions/setup-dotnet@v4
useblacksmith/setup-rubyruby/setup-ruby@v1
useblacksmith/setup-gradle/setup-gradlegradle/actions/setup-gradle@v3: @v4 and later drop or rename four of its inputs
useblacksmith/rust-cacheSwatinem/rust-cache@v2: remove cache-provider: blacksmith, which the upstream refuses
useblacksmith/setup-rustmoonrepo/setup-rust@v1
useblacksmith/setup-uvastral-sh/setup-uv@v4
useblacksmith/setup-bunoven-sh/setup-bun@v2
useblacksmith/setup-ziggoto-bus-stop/setup-zig@v2
useblacksmith/setup-mavenstCarolas/setup-maven@v5
useblacksmith/setup-ocamlocaml/setup-ocaml@v2
useblacksmith/setup-graalvmgraalvm/setup-graalvm@v1
useblacksmith/golangci-lint-actiongolangci/golangci-lint-action: at the same major as the fork's tag
useblacksmith/cypress-iocypress-io/github-action@v6
useblacksmith/caching-for-turborharkor/caching-for-turbo@v1
useblacksmith/coursier-cache-actioncoursier/cache-action@v6
useblacksmith/restore-virtualenvsyphar/restore-virtualenv@v1
useblacksmith/setup-buildx-actiondocker/setup-buildx-action@v3
useblacksmith/setup-bazelbazel-contrib/[email protected]: the same inputs; use Jog's free host Bazel remote cache (--remote_cache) or actions/cache / usejog/cache@v1
useblacksmith/magic-nix-cache-actionDeterminateSystems/magic-nix-cache-action: cut from about @v4; its job stays on Blacksmith, and Refine may move it
useblacksmith/flake-checker-actionDeterminateSystems/flake-checker-action: cut from about @v5; its job stays on Blacksmith, and Refine may move it

Docker builds

Blacksmith's builder kept BuildKit's layers on a sticky disk. On Jog, type=gha stores layers in Jog's 100 GB free cache automatically, backed by free sticky disk caching on each host for public images and BuildKit layers. Add these two lines to each docker/build-push-action step that sets no cache of its own:

YAML
cache-from: type=gha
cache-to: type=gha,mode=max,ignore-error=true

Every cache-to: type=gha line you add, restore or keep carries ignore-error=true. Each image the repository builds needs a scope of its own on both lines, such as cache-from: type=gha,scope=api and cache-to: type=gha,mode=max,ignore-error=true,scope=api. The layers share your organization's cache space (100 GB free on Jog) with the setup actions' entries. useblacksmith/build-push-action@v1 set up its own builder, so put a docker/setup-buildx-action@v3 step before it.

By default, GitHub lets only some events, such as push, schedule and workflow_dispatch, write the default branch's cache; runs from others on the default branch, such as pull_request_target, issue_comment and workflow_run, may only read it, whoever starts them, unless the workflow sets cache-mode: write. ignore-error=true keeps such a build passing, but saves nothing: an image built only by read-only runs needs a workflow that can write, such as a push to the default branch, building the same scope to fill its cache. type=gha needs BuildKit 0.20 and Buildx 0.21 or later. A builder pinned older, by buildkit-version, buildx-version, version or driver-opts: image=moby/buildkit:TAG, keeps its pin and builds without these lines until the pin is raised, under Refine.

Sticky disks

A sticky disk mounts the last snapshot of a directory at the start of a job and saves it at the end. Jog starts every job on a fresh machine, so decide by what the disk holds:

  • Go's build cache, in a job that doesn't run in a container, on Go 1.24 through 1.27: delete the step and any GOCACHE that points at its path, if the job sets no GOCACHEPROG. Jog provides free sticky disk caching for Go's build cache automatically.
  • Docker images pulled from public registries (Docker Hub, ghcr.io, Quay, ECR Public, GCR, registry.k8s.io and Microsoft's) by Docker or setup-buildx's default builder: delete the step. Jog provides free sticky disk caching for those pulls and BuildKit layers; each job still pulls its images, and images a job builds aren't kept as a Docker daemon image store.
  • Bazel build caches: Jog provides free sticky disk caching via its opt-in host Bazel remote cache (--remote_cache).
  • A tool's download cache or a dependency folder: use actions/cache (or usejog/cache@v1 if you want cross-branch sharing or main warming) with the same path. Every organization gets 100 GB of free cache on Jog (more than Blacksmith or GitHub) plus free host sticky disk caching. A sticky disk always mounts its newest snapshot, while key-based caches restore by key, so key it on the lockfile:
YAML
- uses: actions/cache@v4
  with:
    path: ~/.cache/my-tool
    key: my-tool-${{ hashFiles('**/package-lock.json') }}
    restore-keys: my-tool-
  • A build directory a job updates on every run: key it on ${{ github.run_id }}, with a restore-keys prefix, so each run restores the newest entry. Each run then saves an entry, which counts toward your organization's cache space (100 GB free on Jog).

Caches switched on in Blacksmith's dashboard

Blacksmith can cache Bazel, Turborepo and Nx builds remotely, switched on in its dashboard, with nothing in the workflow. Jog provides a free host Bazel remote cache (--remote_cache, opt-in) along with 100 GB of free Actions cache and free sticky disk caching for Ubuntu apt, Go, Docker images, BuildKit layers, and Actions caches. Jog has no built-in Turborepo or Nx remote cache; if your builds used one, add your own or cache through actions/cache or usejog/cache@v1.

Jog has its own Go build cache, for Go 1.24 through 1.27, in steps that don't run in a container, unless the job sets GOCACHE or GOCACHEPROG. Remove BLACKSMITH_GOCACHEPROG_DISABLE_TEST_SHARING if you set it. Jog's Go cache holds builds, not downloaded modules, so actions/setup-go's module cache still helps (Refine).

Blacksmith's test selection plugins, @useblacksmith/vitest, @useblacksmith/jest and @useblacksmith/mocha, choose tests from a history Blacksmith's runners keep. While a job that runs those tests stays on Blacksmith, the other jobs that run the same tests with the same test config stay too. Once none does, remove them from your test config and package.json, then install again so the lockfile matches.

If Blacksmith's wizard moved your repository

Blacksmith's migration wizard opens a pull request titled ".github/workflows: Migrate workflows to Blacksmith runners". In the wizard's pull requests we read, where it moved a Docker build, it deleted the with: block of each docker/setup-buildx-action step and the cache-from and cache-to lines of each docker/build-push-action. To see each line it deleted, find its commit ("Migrate workflows to Blacksmith", or the pull request's squash commit) and run git show COMMIT -- .github. Where it shows a Docker action at a newer major than this page's, keep that major: it was yours. Add ignore-error=true to each cache-to: type=gha you restore. A restored block that gives the builder its own BuildKit configuration loses Jog's cache of image pulls.

The first runs on Jog

Blacksmith kept cache entries in its own storage, so Jog's cache starts empty for entries not already in GitHub's cache. Entries fill as jobs on Jog save them, and a pull request can restore its base branch's (or other branches' with usejog/cache@v1). Expect slower first runs.

Jobs to leave where they are

  • ARM, Windows and macOS jobs, and jobs on Ubuntu 22.04 or 26.04.
  • In a public repository, a job whose workflow runs on anything but push, merge_group, schedule, workflow_dispatch, repository_dispatch or release, a pull request included. Jog refuses every run its rule doesn't list, a pull request from any fork among them, whoever opened it, and never hands it to another runner. Jog's Runners page has a runs-on line that sends those runs elsewhere.
  • Jobs that need Blacksmith's static IP. Jog has no fixed IP address.
  • Jobs with a Blacksmith line that has no replacement here, in the job or in anything it calls: an unknown useblacksmith/ action, a testbox or the blacksmith CLI, a sticky disk holding more than a cache, or a runner.name check on size or architecture or whose other branch skips a test or check.
  • Jobs with one of the two Nix forks, which Refine may move.
  • Jobs sharing a composite action, reusable workflow or config file with a job left on Blacksmith, if that file holds a Blacksmith line. The shared file stays as it is. A BLACKSMITH_ variable in an env: block doesn't count, and the test selection plugins follow their own rule above.

Let a coding agent do it

Paste this into Claude Code, Codex or another coding agent, in your repository. It asks you one question, "Should the moved jobs run on Jog's size with the same vCPUs, or on Jog Max, which gives Blacksmith's CPU speed or better at twice Jog's price?", and lists every Blacksmith line and what it would change. Once you say go, it opens one pull request and checks that the jobs ran on Jog. Then it suggests the changes under Refine that apply, and makes only those you pick.

Prompt
Move this repository's CI from Blacksmith to Jog: follow https://usejog.com/skills/jog-from-blacksmith/SKILL.md

Check the move

  • Each moved job's runner name starts with jog-. GitHub shows it under Set up job.
  • grep -rni blacksmith .github finds only the jobs and files you left on Blacksmith, and runner.name checks.
  • If a job is still queued after a few minutes, your account's page says whether the account is holding it, for example on the waitlist or because the repository isn't selected: https://usejog.com/docs/runners/#why-a-job-waits-or-fails-at-start

Refine

Once the moved jobs pass on Jog, these changes are optional. Each changes something that already works, so take any, or none:

  • A fork's upstream at a newer major. A newer major may rename or drop inputs and change defaults, as the fork table's notes say, so read its release notes and keep what each input meant.
  • Moving a job that stayed on Blacksmith only for one of the two Nix forks: the step's inputs beside those of the newest upstream major that takes every one, for the person to decide. If no major takes them all, the job stays. Its other Blacksmith lines get the same defaults as every other job, and it gets the same choice of Jog's size with the same vCPUs or Jog Max.
  • Fewer vCPUs. Blacksmith's wizard usually put ubuntu-latest jobs on 4 vCPUs; the Jog skill finds the jobs that need fewer, which cost less: https://usejog.com/docs/agents/#right-size-your-ci
  • Raising a BuildKit pin below 0.20 or a Buildx pin below 0.21, so that builder can use the type=gha cache.
  • A type=gha layer cache, with its own scope for each target, for a docker/bake-action step where neither the step nor its bake file sets one. A run step that calls docker buildx build or docker buildx bake gets one by moving to docker/build-push-action or docker/bake-action. Without a cache, those builds start with no layers.
  • Keeping eStargz compression for a step that set estargz: true, unless its outputs already set compression, so its images can be pulled lazily again. Agree the outputs line with the image's owner.
  • actions/setup-go's module cache, if the workflow set cache: false for Blacksmith. Jog's Go cache holds builds, not downloaded modules.
  • A remote build cache, if Bazel, Turborepo or Nx builds now run in full without Blacksmith's.
  • Removing options: --privileged from a container job that had it only for a sticky disk.
  • Removing a runner.name check for Blacksmith from a moved job with no matrix leg left on Blacksmith, keeping what the job runs on Jog now: a step the check skips on Jog goes with it, and of a two-way branch only the side Jog takes stays.
  • Jog's note in AGENTS.md or CLAUDE.md, so later agents keep jobs on Jog: https://usejog.com/docs/agents.md, under "The note for AGENTS.md".

  • Overview
  • Set up with a coding agent
  • Migrating from Blacksmith
  • Runners
  • Pricing
  • Job codes
  • Advice API
  • Joggernaut