Hi
The plugins/kaniko doesn’t seem to support pulling images from private registries.
If a Dockerfile references for example:
FROM myregister.example.com AS base
...
This fails; example:
latest: Pulling from plugins/kaniko
Digest: sha256:593a0a6feea378993ed6b27330c6a9b30ef5c6e6b137cee00f89516a2308087e
Status: Image is up to date for plugins/kaniko:latest
+ /kaniko/executor --dockerfile=Dockerfile --context=dir://. --destination=******/sally:latest --build-arg=VERSION=master --build-arg=COMMIT=ce87061a --digest-file=/kaniko/digest-file
INFO[0002] Resolved base name r.mills.io/******/golang-alpine to build
INFO[0002] Using dockerignore file: /drone/src/.dockerignore
INFO[0002] Retrieving image manifest r.mills.io/******/golang-alpine
INFO[0002] Retrieving image r.mills.io/******/golang-alpine from registry r.mills.io
error building image: GET https://r.mills.io/v2/******/golang-alpine/manifests/latest: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:******/golang-alpine Type:repository]]
exit status 1
Despite my runners configured with .docker/config.json
I don’t think that it actually passed to plugins?