From 1d678b70d9a8c97aaf2d917d870c0a7b6cc639e1 Mon Sep 17 00:00:00 2001 From: Kenny Millington Date: Fri, 29 Jul 2022 19:01:52 +0100 Subject: [PATCH] config: ignore image for config hash generation (#9350) Do not set Image so it does not impact the config-hash Signed-off-by: Kenny Millington --- pkg/compose/build.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/compose/build.go b/pkg/compose/build.go index 937bfd361a..41c85c587e 100644 --- a/pkg/compose/build.go +++ b/pkg/compose/build.go @@ -142,7 +142,6 @@ func (s *composeService) ensureImagesExists(ctx context.Context, project *types. project.Services[i].Labels = types.Labels{} } project.Services[i].CustomLabels[api.ImageDigestLabel] = digest - project.Services[i].Image = image } } return nil