@@ -1623,7 +1623,7 @@ RUN date --utc > /root/date.txt`, testImageAlpine),
1623
1623
envbuilderEnv ("CACHE_REPO" , testRepo ),
1624
1624
envbuilderEnv ("GET_CACHED_IMAGE" , "1" ),
1625
1625
}})
1626
- require .Regexp (t , `uncached.*? command.*? is not supported in cache probe mode` , err .Error ())
1626
+ require .Regexp (t , `uncached.*command.*is not supported in cache probe mode` , err .Error ())
1627
1627
})
1628
1628
1629
1629
t .Run ("CacheAndPush" , func (t * testing.T ) {
@@ -1731,7 +1731,7 @@ RUN date --utc > /root/date.txt`, testImageAlpine),
1731
1731
_ , err = runEnvbuilder (t , runOpts {env : append (opts ,
1732
1732
envbuilderEnv ("GET_CACHED_IMAGE" , "1" ),
1733
1733
)})
1734
- require .Regexp (t , "error probing build cache: uncached.*? command.*? is not supported in cache probe mode" , err .Error ())
1734
+ require .Regexp (t , "error probing build cache: uncached.*command.*is not supported in cache probe mode" , err .Error ())
1735
1735
// Then: it should fail to build the image and nothing should be pushed
1736
1736
_ , err = remote .Image (ref )
1737
1737
require .ErrorContains (t , err , "NAME_UNKNOWN" , "expected image to not be present before build + push" )
0 commit comments