@@ -23,14 +23,14 @@ func Base(ctx context.Context, dag *dagger.Client, source, uiDist *dagger.Direct
23
23
24
24
// Use cache if available
25
25
if len (registryCache ) > 0 && registryCache [0 ] != "" {
26
- baseImageRef := fmt .Sprintf ("%s:golang-base " , registryCache [0 ])
26
+ baseImageRef := fmt .Sprintf ("%s:golang-%s " , registryCache [0 ], "base-1.25" )
27
27
// Try cached base first
28
28
cachedBase := golang .From (baseImageRef )
29
29
if _ , err := cachedBase .Sync (ctx ); err == nil {
30
30
golang = cachedBase
31
31
} else {
32
32
// Build fresh base and cache it
33
- golang = golang .From ("golang:1.24 -alpine3.21" ).
33
+ golang = golang .From ("golang:1.25 -alpine3.21" ).
34
34
WithEnvVariable ("GOCACHE" , goBuildCachePath ).
35
35
WithEnvVariable ("GOMODCACHE" , goModCachePath ).
36
36
WithExec ([]string {"apk" , "add" , "bash" , "gcc" , "binutils-gold" , "build-base" , "git" })
@@ -39,7 +39,7 @@ func Base(ctx context.Context, dag *dagger.Client, source, uiDist *dagger.Direct
39
39
}
40
40
} else {
41
41
// No cache - use regular build
42
- golang = golang .From ("golang:1.24 -alpine3.21" ).
42
+ golang = golang .From ("golang:1.25 -alpine3.21" ).
43
43
WithEnvVariable ("GOCACHE" , goBuildCachePath ).
44
44
WithEnvVariable ("GOMODCACHE" , goModCachePath ).
45
45
WithExec ([]string {"apk" , "add" , "bash" , "gcc" , "binutils-gold" , "build-base" , "git" })
0 commit comments