()
| 324 | } |
| 325 | |
| 326 | func registry() *dagger.Service { |
| 327 | return dag.Container(). |
| 328 | From("registry:2"). |
| 329 | WithExposedPort(5000, dagger.ContainerWithExposedPortOpts{Protocol: dagger.NetworkProtocolTcp}). |
| 330 | AsService(dagger.ContainerAsServiceOpts{UseEntrypoint: true}) |
| 331 | } |
| 332 | |
| 333 | func privateRegistry() *dagger.Service { |
| 334 | const htpasswd = "john:$2y$05$/iP8ud0Fs8o3NLlElyfVVOp6LesJl3oRLYoc3neArZKWX10OhynSC" //nolint:gosec |
no test coverage detected