Przeglądaj źródła

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 <[email protected]>
Kenny Millington 3 lat temu
rodzic
commit
1d678b70d9
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      pkg/compose/build.go

+ 0 - 1
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