Skip to content
Latchkey

Skaffold "config version out of date" (skaffold fix) in CI

When the installed Skaffold is newer than the schema in skaffold.yaml, it asks you to migrate with skaffold fix. In CI, where prompts cannot be answered, the command fails instead of upgrading interactively.

What this error means

A skaffold command reports "config version out of date" and suggests running skaffold fix, then exits non-zero in the pipeline.

skaffold
config version "skaffold/v2beta29" is out of date: run `skaffold fix`

Common causes

The binary was upgraded but the config was not migrated

A newer Skaffold in CI expects a newer schema than the committed skaffold.yaml still declares.

The migration was never committed

A local skaffold fix upgraded the file but the change was not pushed, so CI still sees the old version.

How to fix it

Migrate the config and commit it

  1. Run skaffold fix --overwrite locally.
  2. Review and commit the updated skaffold.yaml.
  3. Push so CI reads the migrated schema.
Terminal
skaffold fix --overwrite
git add skaffold.yaml

Pin the Skaffold version to the current schema

If you cannot migrate yet, pin CI to the Skaffold release that matches the committed apiVersion.

Terminal
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.9.0/skaffold-linux-amd64
sudo install skaffold /usr/local/bin/

How to prevent it

  • Run skaffold fix as part of upgrading Skaffold, and commit it.
  • Pin the CI Skaffold version so the schema expectation is stable.
  • Avoid installing "latest" Skaffold in CI.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →