You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a common build failure scenario is forgetting to apply a default repo, meaning that images build fine but skaffold will fail because of a failed push. once a default repo is applied, the subsequent build and push will succeed, but rebuilds shouldn't be necessary if the previous build succeeded. however, skaffold's cache check is naive in checking for a direct image name match, and will fail and rebuild, which can be annoying with long image builds.
Expected behavior
after successful build but failed push, subsequent build/push should detect image built locally if name changes (but tag stays the same)
a common build failure scenario is forgetting to apply a default repo, meaning that images build fine but skaffold will fail because of a failed push. once a default repo is applied, the subsequent build and push will succeed, but rebuilds shouldn't be necessary if the previous build succeeded. however, skaffold's cache check is naive in checking for a direct image name match, and will fail and rebuild, which can be annoying with long image builds.
Expected behavior
after successful build but failed push, subsequent build/push should detect image built locally if name changes (but tag stays the same)
Actual behavior
cache check fails because image name has changed
Information
Steps to reproduce the behavior
skaffold build
# build with succeed, but push will failskaffold build -d <repo_with_push_access>
The text was updated successfully, but these errors were encountered: