Skip to content

Commit edab99b

Browse files
committed
fix(sync): prepend destination names to tags
1 parent b7c408b commit edab99b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/sync/images.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ func SyncImage(ctx context.Context, image *structs.Image) error {
190190
for _, obj := range s3Lister.Contents {
191191
fname := filepath.Base(*obj.Key)
192192
if !strings.HasPrefix(fname, "sha256:") {
193-
dstTags = append(dstTags, fname)
193+
dstTags = append(dstTags, fmt.Sprintf("%s:%s", dst, fname))
194194
}
195195
}
196196

0 commit comments

Comments
 (0)