@@ -62,7 +62,7 @@ describe("buildAndMaybePush", () => {
6262 buildCmd : [
6363 "build" ,
6464 "-t" ,
65- `${ getCloudflareContainerRegistry ( ) } /test_account_id /test-app:tag` ,
65+ `${ getCloudflareContainerRegistry ( ) } /some-account-id /test-app:tag` ,
6666 "--platform" ,
6767 "linux/amd64" ,
6868 "--provenance=false" ,
@@ -73,13 +73,13 @@ describe("buildAndMaybePush", () => {
7373 dockerfile,
7474 } ) ;
7575 expect ( dockerImageInspect ) . toHaveBeenCalledWith ( "/custom/docker/path" , {
76- imageTag : `${ getCloudflareContainerRegistry ( ) } /test_account_id /test-app:tag` ,
76+ imageTag : `${ getCloudflareContainerRegistry ( ) } /some-account-id /test-app:tag` ,
7777 formatString :
7878 "{{ .Size }} {{ len .RootFS.Layers }} {{json .RepoDigests}}" ,
7979 } ) ;
8080 expect ( runDockerCmd ) . toHaveBeenCalledWith ( "/custom/docker/path" , [
8181 "push" ,
82- `${ getCloudflareContainerRegistry ( ) } /test_account_id /test-app:tag` ,
82+ `${ getCloudflareContainerRegistry ( ) } /some-account-id /test-app:tag` ,
8383 ] ) ;
8484 expect ( dockerLoginManagedRegistry ) . toHaveBeenCalledWith (
8585 "/custom/docker/path"
@@ -94,7 +94,7 @@ describe("buildAndMaybePush", () => {
9494 buildCmd : [
9595 "build" ,
9696 "-t" ,
97- `${ getCloudflareContainerRegistry ( ) } /test_account_id /test-app:tag` ,
97+ `${ getCloudflareContainerRegistry ( ) } /some-account-id /test-app:tag` ,
9898 "--platform" ,
9999 "linux/amd64" ,
100100 "--provenance=false" ,
@@ -107,11 +107,11 @@ describe("buildAndMaybePush", () => {
107107 expect ( runDockerCmd ) . toHaveBeenCalledTimes ( 1 ) ;
108108 expect ( runDockerCmd ) . toHaveBeenCalledWith ( "docker" , [
109109 "push" ,
110- `${ getCloudflareContainerRegistry ( ) } /test_account_id /test-app:tag` ,
110+ `${ getCloudflareContainerRegistry ( ) } /some-account-id /test-app:tag` ,
111111 ] ) ;
112112 expect ( dockerImageInspect ) . toHaveBeenCalledOnce ( ) ;
113113 expect ( dockerImageInspect ) . toHaveBeenCalledWith ( "docker" , {
114- imageTag : `${ getCloudflareContainerRegistry ( ) } /test_account_id /test-app:tag` ,
114+ imageTag : `${ getCloudflareContainerRegistry ( ) } /some-account-id /test-app:tag` ,
115115 formatString :
116116 "{{ .Size }} {{ len .RootFS.Layers }} {{json .RepoDigests}}" ,
117117 } ) ;
@@ -121,7 +121,7 @@ describe("buildAndMaybePush", () => {
121121 it ( "should be able to build image and not push if it already exists in remote" , async ( ) => {
122122 vi . mocked ( runDockerCmd ) . mockResolvedValueOnce ( ) ;
123123 vi . mocked ( dockerImageInspect ) . mockResolvedValue (
124- '53387881 2 ["registry.cloudflare.com/test_account_id /test-app@sha256:three"]'
124+ '53387881 2 ["registry.cloudflare.com/some-account-id /test-app@sha256:three"]'
125125 ) ;
126126 await runWrangler (
127127 "containers build ./container-context -t test-app:tag -p"
@@ -130,7 +130,7 @@ describe("buildAndMaybePush", () => {
130130 buildCmd : [
131131 "build" ,
132132 "-t" ,
133- `${ getCloudflareContainerRegistry ( ) } /test_account_id /test-app:tag` ,
133+ `${ getCloudflareContainerRegistry ( ) } /some-account-id /test-app:tag` ,
134134 "--platform" ,
135135 "linux/amd64" ,
136136 "--provenance=false" ,
@@ -147,18 +147,18 @@ describe("buildAndMaybePush", () => {
147147 [
148148 "manifest" ,
149149 "inspect" ,
150- `${ getCloudflareContainerRegistry ( ) } /test_account_id /test-app@sha256:three` ,
150+ `${ getCloudflareContainerRegistry ( ) } /some-account-id /test-app@sha256:three` ,
151151 ] ,
152152 "ignore"
153153 ) ;
154154 expect ( runDockerCmd ) . toHaveBeenNthCalledWith ( 2 , "docker" , [
155155 "image" ,
156156 "rm" ,
157- `${ getCloudflareContainerRegistry ( ) } /test_account_id /test-app:tag` ,
157+ `${ getCloudflareContainerRegistry ( ) } /some-account-id /test-app:tag` ,
158158 ] ) ;
159159 expect ( dockerImageInspect ) . toHaveBeenCalledOnce ( ) ;
160160 expect ( dockerImageInspect ) . toHaveBeenCalledWith ( "docker" , {
161- imageTag : `${ getCloudflareContainerRegistry ( ) } /test_account_id /test-app:tag` ,
161+ imageTag : `${ getCloudflareContainerRegistry ( ) } /some-account-id /test-app:tag` ,
162162 formatString :
163163 "{{ .Size }} {{ len .RootFS.Layers }} {{json .RepoDigests}}" ,
164164 } ) ;
@@ -172,7 +172,7 @@ describe("buildAndMaybePush", () => {
172172 buildCmd : [
173173 "build" ,
174174 "-t" ,
175- `${ getCloudflareContainerRegistry ( ) } /test_account_id /test-app` ,
175+ `${ getCloudflareContainerRegistry ( ) } /some-account-id /test-app` ,
176176 "--platform" ,
177177 "linux/amd64" ,
178178 "--provenance=false" ,
@@ -194,7 +194,7 @@ describe("buildAndMaybePush", () => {
194194 buildCmd : [
195195 "build" ,
196196 "-t" ,
197- `${ getCloudflareContainerRegistry ( ) } /test_account_id /test-app` ,
197+ `${ getCloudflareContainerRegistry ( ) } /some-account-id /test-app` ,
198198 "--platform" ,
199199 "linux/amd64" ,
200200 "--provenance=false" ,
0 commit comments