-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
area/buildarea/cachehas-workaroundkind/bugSomething isn't workingSomething isn't workingplatform/windows
Description
Expected behavior
"skaffold build" should work on my skaffold yaml
Actual behavior
Skaffold failed to pull remote image:
Generating tags...
- my-image -> my-image:latest
Some taggers failed. Rerun with -vdebug for errors.
Checking cache... - my-image: Error checking cache.
getting hash for artifact "my-image": getting dependencies for "my-image": parsing ONBUILD instructions: retrieving image "mcr.microsoft.com/dotnet/framework/wcf:latest": no child with platform linux/amd64 in index mcr.microsoft.com/dotnet/framework/wcf:latest
When I execute "docker pull mcr.microsoft.com/dotnet/framework/wcf:latest" it worked
Information
- Operating system: Windows 2019
- Installed via: https://storage.googleapis.com/skaffold/releases/latest/skaffold-windows-amd64.exe
- Contents of skaffold.yaml:
apiVersion: skaffold/v4beta4
kind: Config
build:
artifacts:
- image: my-image
context: .
docker:
dockerfile: ./Dockerfile
platforms:
- windowsDockerfile:
FROM mcr.microsoft.com/dotnet/framework/wcf:latest
Steps to reproduce the behavior
run "skaffold build"
Root cause:
When code retrive image from remote -
skaffold/pkg/skaffold/docker/image.go
Line 299 in 85de8d7
| cfg, err = RetrieveRemoteConfig(image, l.cfg, v1.Platform{}) |
dkiser
Metadata
Metadata
Assignees
Labels
area/buildarea/cachehas-workaroundkind/bugSomething isn't workingSomething isn't workingplatform/windows