build(deps): bump github.com/testcontainers/testcontainers-go
Bumps [github.com/testcontainers/testcontainers-go](https://github.com/testcontainers/testcontainers-go) from 0.40.0 to 0.41.0. - [Release notes](https://github.com/testcontainers/testcontainers-go/releases) - [Commits](https://github.com/testcontainers/testcontainers-go/compare/v0.40.0...v0.41.0) --- updated-dependencies: - dependency-name: github.com/testcontainers/testcontainers-go dependency-version: 0.41.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
Ralf Haferkamp
parent
fef601f104
commit
de59bb63ad
+10
@@ -100,6 +100,16 @@ func ExtractRegistry(image string, fallback string) string {
|
||||
|
||||
registry := exp[1]
|
||||
|
||||
// docker.io is an implicit reference, return fallback for normalization
|
||||
if strings.EqualFold(registry, "docker.io") {
|
||||
return fallback
|
||||
}
|
||||
|
||||
// registry.hub.docker.com is an explicit registry reference, preserve it
|
||||
if strings.EqualFold(registry, "registry.hub.docker.com") {
|
||||
return "registry.hub.docker.com"
|
||||
}
|
||||
|
||||
if IsURL(registry) {
|
||||
return registry
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package internal
|
||||
|
||||
// Version is the next development version of the application
|
||||
const Version = "0.40.0"
|
||||
const Version = "0.41.0"
|
||||
|
||||
Reference in New Issue
Block a user