feat: [CDE-549]: debug (#3137)

* feat: [CDE-549]: debug
This commit is contained in:
Vikyath Harekal 2024-12-10 05:03:27 +00:00 committed by Harness
parent 37980937b5
commit 5ccbbd76a6

View File

@ -369,7 +369,7 @@ func CopyImage(
// Build skopeo command
platform := getPlatform(runArgsMap)
args := []string{"copy"}
args := []string{"copy", "--debug"}
if platform != "" {
args = append(args, "--override-os", platform)
@ -385,6 +385,7 @@ func CopyImage(
// Source and destination
source := "docker://" + imageName
// TODO: if imageName doesn't have tag, use latest in destination
destination := "docker-daemon:" + imageName
args = append(args, source, destination)