GoogleContainerTools / GoogleContainerTools/skaffold
Skaffold attempts unexpected post-build action when using kaniko cluster build
- Dominant language
- Go
- Stars
- 15.9k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 10
Description
### Expected behavior
skaffold build completes successfully with no error message
### Actual behavior
it appears as if the build does complete successfully, but is followed up by an unwarranted registry action:
getting image: GET https://index.docker.io/v2/library/cpu-hogger/manifests/03955c6-dirty: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:library/cpu-hogger Type:repository]]
### Information
- Skaffold version: v2.0.3
- Operating system: MacOS ventura 13.1
- Installed via: Homebrew
- Contents of skaffold.yaml:
```yaml
apiVersion: skaffold/v4beta1
kind: Config
metadata:
name: podinfo
build:
artifacts:
- image: podinfo
kaniko:
dockerfile: Dockerfile
noPush: true
verbosity: info
cluster: {}
```
### Steps to reproduce the behavior
1. Install docker desktop, set kubernetes context to docker desktop.
2. clone podinfo (https://github.com/stefanprodan/podinfo) and add skaffold.yaml as described above.
3. run skaffold build
see attached log with redactions to dockerfile contents:
[skaffold.log](https://github.com/GoogleContainerTools/skaffold/files/10366544/skaffold.log)
Contributor guide
Assessment
This issue has not been assessed yet.