mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
point all docs for containers to quay.io
This commit is contained in:
@@ -461,7 +461,7 @@ func getDownloadURL(releaseTag string) (downloadURL string) {
|
||||
// Check if we are docker environment, return docker update command
|
||||
if IsDocker() {
|
||||
// Construct release tag name.
|
||||
return fmt.Sprintf("podman pull minio/minio:%s", releaseTag)
|
||||
return fmt.Sprintf("podman pull quay.io/minio/minio:%s", releaseTag)
|
||||
}
|
||||
|
||||
// For binary only installations, we return link to the latest binary.
|
||||
|
||||
@@ -92,8 +92,8 @@ func TestDownloadURL(t *testing.T) {
|
||||
minioVersion1 := releaseTimeToReleaseTag(UTCNow())
|
||||
durl := getDownloadURL(minioVersion1)
|
||||
if IsDocker() {
|
||||
if durl != "podman pull minio/minio:"+minioVersion1 {
|
||||
t.Errorf("Expected %s, got %s", "podman pull minio/minio:"+minioVersion1, durl)
|
||||
if durl != "podman pull quay.io/minio/minio:"+minioVersion1 {
|
||||
t.Errorf("Expected %s, got %s", "podman pull quay.io/minio/minio:"+minioVersion1, durl)
|
||||
}
|
||||
} else {
|
||||
if runtime.GOOS == "windows" {
|
||||
|
||||
Reference in New Issue
Block a user