skaffold icon indicating copy to clipboard operation
skaffold copied to clipboard

Multi-platform image created with skaffold build is not sent to default-registry

Open renzodavid9 opened this issue 2 years ago • 0 comments

Expected behavior

When running skaffold build --platform=linux/arm64,linux/amd64 --default-repo=gcr.io/my-registry, Skaffold should push the created multi-platform image to the specified default-repo.

Actual behavior

Instead, it tries to push it to the local Docker engine, which does not support multi-platform images. To make it work, the command should be run with the --push flag: build --platform=linux/arm64,linux/amd64 --default-repo=gcr.io/my-registry --push

Information

  • Skaffold version: main V2
  • Operating system: MacOS, x86
  • Installed via: compile from main
  • Contents of skaffold.yaml: Use Java guest book example from here

renzodavid9 avatar Jul 25 '22 17:07 renzodavid9