浏览代码

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 年之前
父节点
当前提交
1d678b70d9
共有 1 个文件被更改,包括 0 次插入1 次删除
  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