mirror of https://github.com/docker/compose.git
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 <kenny@kennynet.co.uk>
This commit is contained in:
parent
2e7b4074f4
commit
1d678b70d9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue