GoogleContainerTools / GoogleContainerTools/skaffold

skaffold verify should be able to build images

Open
#9,506 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
15.9k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

### Expected behavior
I can run `skaffold verify` and it builds and/or uses prebuilt images already cached

### Actual behavior
`skaffold verify` errors out with `ErrImagePull` unless you provide `--build-artifacts`

### Information

- Skaffold version: `v2.13.2`
- Operating system: OSX 14.6.1
- Installed via: Homebrew
- Contents of skaffold.yaml:

```yaml
apiVersion: skaffold/v4beta11
kind: Config
build:
artifacts:
- image: bootstrap
docker: {}
verify:
- name: bootstrap
container:
name: bootstrap
image: bootstrap
```
Dockerfile:
```dockerfile
FROM hello-world:latest
```

### Steps to reproduce the behavior

1. a clonable repository with the sample skaffold project
2. `skaffold verify`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.