Kaniko failure on Docker Desktop

Kaniko seems to want an environment variable container=kube. But it’s a mystery how I can add this to the Deploy to Docker Registry step.

Any help is much appreciated.

+ /kaniko/executor --dockerfile=Dockerfile --context=dir://. --destination=rtdb:harness --snapshotMode=redo --digest-file=/kaniko/digest-file
kaniko should only be run inside of a container, run with the --force flag if you are sure you want to continue
exit status 1