Skip to content

Commit

Permalink
fix(build, stapel): fix fromLatest does not work properly with index …
Browse files Browse the repository at this point in the history
…manifest

Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
  • Loading branch information
alexey-igrychev committed Jul 2, 2024
1 parent 877d59d commit 9573cb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/docker_registry/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ func (api *api) getRepoImageByDesc(ctx context.Context, originalTag string, desc
if err != nil {
return nil, fmt.Errorf("error getting image index digest: %w", err)
}
repoImage.ID = digest.String()
repoImage.RepoDigest = fmt.Sprintf("%s@%s", image.NormalizeRepository(repoImage.Repository), digest.String())

im, err := ii.IndexManifest()
Expand Down

0 comments on commit 9573cb5

Please sign in to comment.