Skip to content

Commit 1d678b7

Browse files
authored
config: ignore image for config hash generation (docker#9350)
Do not set Image so it does not impact the config-hash Signed-off-by: Kenny Millington <[email protected]>
1 parent 2e7b407 commit 1d678b7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/compose/build.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ func (s *composeService) ensureImagesExists(ctx context.Context, project *types.
142142
project.Services[i].Labels = types.Labels{}
143143
}
144144
project.Services[i].CustomLabels[api.ImageDigestLabel] = digest
145-
project.Services[i].Image = image
146145
}
147146
}
148147
return nil

0 commit comments

Comments
 (0)