@@ -22,7 +22,7 @@ func TestPush(t *testing.T) {
22
22
// Prefetch alpine.
23
23
pullOptions := & PullOptions {}
24
24
pullOptions .Writer = os .Stdout
25
- _ , err := runtime .Pull (ctx , "docker .io/library /alpine:latest" , config .PullPolicyAlways , pullOptions )
25
+ _ , err := runtime .Pull (ctx , "quay .io/libpod /alpine:latest" , config .PullPolicyAlways , pullOptions )
26
26
require .NoError (t , err )
27
27
28
28
pushOptions := & PushOptions {}
@@ -81,7 +81,7 @@ func TestPushOtherPlatform(t *testing.T) {
81
81
pullOptions := & PullOptions {}
82
82
pullOptions .Writer = os .Stdout
83
83
pullOptions .Architecture = "arm64"
84
- pulledImages , err := runtime .Pull (ctx , "docker .io/library /alpine:latest" , config .PullPolicyAlways , pullOptions )
84
+ pulledImages , err := runtime .Pull (ctx , "quay .io/libpod /alpine:latest" , config .PullPolicyAlways , pullOptions )
85
85
require .NoError (t , err )
86
86
require .Len (t , pulledImages , 1 )
87
87
@@ -95,7 +95,7 @@ func TestPushOtherPlatform(t *testing.T) {
95
95
require .NoError (t , err )
96
96
tmp .Close ()
97
97
defer os .Remove (tmp .Name ())
98
- _ , err = runtime .Push (ctx , "docker .io/library /alpine:latest" , "docker-archive:" + tmp .Name (), pushOptions )
98
+ _ , err = runtime .Push (ctx , "quay .io/libpod /alpine:latest" , "docker-archive:" + tmp .Name (), pushOptions )
99
99
require .NoError (t , err )
100
100
}
101
101
@@ -107,7 +107,7 @@ func TestPushWithForceCompression(t *testing.T) {
107
107
pullOptions := & PullOptions {}
108
108
pullOptions .Writer = os .Stdout
109
109
pullOptions .Architecture = "arm64"
110
- pulledImages , err := runtime .Pull (ctx , "docker .io/library /alpine:latest" , config .PullPolicyAlways , pullOptions )
110
+ pulledImages , err := runtime .Pull (ctx , "quay .io/libpod /alpine:latest" , config .PullPolicyAlways , pullOptions )
111
111
require .NoError (t , err )
112
112
require .Len (t , pulledImages , 1 )
113
113
@@ -121,7 +121,7 @@ func TestPushWithForceCompression(t *testing.T) {
121
121
pushOptions .SystemContext .DirForceDecompress = true
122
122
pushOptions .Writer = os .Stdout
123
123
dirDest := t .TempDir ()
124
- _ , err = runtime .Push (ctx , "docker .io/library /alpine:latest" , "dir:" + dirDest , pushOptions )
124
+ _ , err = runtime .Push (ctx , "quay .io/libpod /alpine:latest" , "dir:" + dirDest , pushOptions )
125
125
require .NoError (t , err )
126
126
127
127
// Pull uncompressed alpine from `dir:dirDest` as source.
@@ -137,7 +137,7 @@ func TestPushWithForceCompression(t *testing.T) {
137
137
pushOptions .OciAcceptUncompressedLayers = true
138
138
pushOptions .Writer = os .Stdout
139
139
ociDest := t .TempDir ()
140
- _ , err = runtime .Push (ctx , "docker .io/library /alpine:latest" , "oci:" + ociDest , pushOptions )
140
+ _ , err = runtime .Push (ctx , "quay .io/libpod /alpine:latest" , "oci:" + ociDest , pushOptions )
141
141
require .NoError (t , err )
142
142
143
143
// blobs from first push
@@ -154,7 +154,7 @@ func TestPushWithForceCompression(t *testing.T) {
154
154
pushOptions .Writer = os .Stdout
155
155
pushOptions .CompressionFormat = & compression .Gzip
156
156
pushOptions .ForceCompressionFormat = false
157
- _ , err = runtime .Push (ctx , "docker .io/library /alpine:latest" , "oci:" + ociDest , pushOptions )
157
+ _ , err = runtime .Push (ctx , "quay .io/libpod /alpine:latest" , "oci:" + ociDest , pushOptions )
158
158
require .NoError (t , err )
159
159
160
160
// blobs from second push
@@ -175,7 +175,7 @@ func TestPushWithForceCompression(t *testing.T) {
175
175
pushOptions .Writer = os .Stdout
176
176
pushOptions .CompressionFormat = & compression .Gzip
177
177
pushOptions .ForceCompressionFormat = true
178
- _ , err = runtime .Push (ctx , "docker .io/library /alpine:latest" , "oci:" + ociDest , pushOptions )
178
+ _ , err = runtime .Push (ctx , "quay .io/libpod /alpine:latest" , "oci:" + ociDest , pushOptions )
179
179
require .NoError (t , err )
180
180
181
181
// collect blobs from third push
0 commit comments