mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
commit
a57ebdd8ef
@ -32,7 +32,7 @@ import (
|
|||||||
push.go and util.go. It then was modified to remove any command-line dependencies.
|
push.go and util.go. It then was modified to remove any command-line dependencies.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
func pushManifestList(auth dockertypes.AuthConfig, input types.YAMLInput, ignoreMissing, insecure, plainHttp bool, configDir string) (hash string, length int, err error) {
|
func pushManifestList(auth dockertypes.AuthConfig, input types.YAMLInput, ignoreMissing, insecure, plainHTTP bool, configDir string) (hash string, length int, err error) {
|
||||||
// resolve the target image reference for the combined manifest list/index
|
// resolve the target image reference for the combined manifest list/index
|
||||||
targetRef, err := reference.ParseNormalizedNamed(input.Image)
|
targetRef, err := reference.ParseNormalizedNamed(input.Image)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -44,7 +44,7 @@ func pushManifestList(auth dockertypes.AuthConfig, input types.YAMLInput, ignore
|
|||||||
configDirs = append(configDirs, filepath.Join(configDir, "config.json"))
|
configDirs = append(configDirs, filepath.Join(configDir, "config.json"))
|
||||||
}
|
}
|
||||||
resolver := newResolver(auth.Username, auth.Password, insecure,
|
resolver := newResolver(auth.Username, auth.Password, insecure,
|
||||||
plainHttp, configDirs...)
|
plainHTTP, configDirs...)
|
||||||
|
|
||||||
imageType := types.Docker
|
imageType := types.Docker
|
||||||
manifestList := types.ManifestList{
|
manifestList := types.ManifestList{
|
||||||
|
Loading…
Reference in New Issue
Block a user