We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 092caf0 commit 99fe0b0Copy full SHA for 99fe0b0
pkg/gcrane/copy.go
@@ -213,15 +213,15 @@ func (c *copier) copyImages(ctx context.Context, t task) error {
213
srcImg := fmt.Sprintf("%s@%s", t.oldRepo, t.digest)
214
dstImg := fmt.Sprintf("%s@%s", t.newRepo, t.digest)
215
216
- return Copy(srcImg, dstImg)
+ return crane.Copy(srcImg, dstImg, c.opt.crane...)
217
}
218
219
// We only need to push the whole image once.
220
tag := t.manifest.Tags[0]
221
srcImg := fmt.Sprintf("%s:%s", t.oldRepo, tag)
222
dstImg := fmt.Sprintf("%s:%s", t.newRepo, tag)
223
224
- if err := Copy(srcImg, dstImg); err != nil {
+ if err := crane.Copy(srcImg, dstImg, c.opt.crane...); err != nil {
225
return err
226
227
0 commit comments