Skip to content

Commit

Permalink
containertool: Use the default registry parameter for image uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
euanh committed Oct 10, 2024
1 parent 035315f commit 2c7b3e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/containertool/containertool.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ enum AllowHTTP: String, ExpressibleByArgument, CaseIterable { case source, desti

func run() async throws {
let baseimage = try ImageReference(fromString: from, defaultRegistry: defaultRegistry)
var destination_image = try ImageReference(fromString: repository)
var destination_image = try ImageReference(fromString: repository, defaultRegistry: defaultRegistry)

let authProvider: AuthorizationProvider?
if !netrc {
Expand Down

0 comments on commit 2c7b3e5

Please sign in to comment.