-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use image index not just image (#2284)
* Always try daemon push first Daemon push is now tried always first withouth using net.DefaultResolver.LookupHost() to guess if the registry is reachable from the daemon. If the daemon returns error contaning "no such host" then use manual push with custom transport. Signed-off-by: Matej Vašek <[email protected]> * Rework image pusher tests Merged daemon push and non-daemon tests to one table driven test. Signed-off-by: Matej Vašek <[email protected]> * Use image index not just image This results in "multi-arch" image with single architecture this may seems weird but it helps multi-arch clusters to run pods on approprieate nodes. Signed-off-by: Matej Vašek <[email protected]> * fixup: style Signed-off-by: Matej Vašek <[email protected]> --------- Signed-off-by: Matej Vašek <[email protected]>
- Loading branch information
1 parent
c8bc469
commit 125e4b6
Showing
2 changed files
with
252 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.