File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ To update Go version to $ARGUMENT you need to update the following files
2+
3+ - flake.nix
4+ - You need to use ` nix store prefetch-file ` to update the hash as well.
5+ - .tool-versions
6+ - go.mod
7+ - custombuild/go.mod
8+ - e2e/go.mod
9+ - k6/go.mod
10+ - packagetracker/go.mod.tpl
11+ - custombuild/cmd/authgearx/Dockerfile
12+ - custombuild/cmd/portalx/Dockerfile
13+ - cmd/portal/Dockerfile
14+ - cmd/authgear/Dockerfile
15+ - once/partial.dockerfile
16+
17+ After updating the above files, you run the following commands:
18+
19+ ```
20+ make go-mod-tidy
21+ make once/Dockerfile
22+ ```
Original file line number Diff line number Diff line change 1- golang 1.24.4
1+ golang 1.24.6
22nodejs 20.9.0
33python 3.12.1
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ COPY Makefile .
1515RUN make authui
1616
1717# Stage 1: Build the Go binary
18- FROM quay.io/theauthgear/golang:1.24.4 -noble AS authgear-stage-1
18+ FROM quay.io/theauthgear/golang:1.24.6 -noble AS authgear-stage-1
1919
2020# Install build time C dependencies
2121RUN set -eux; \
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ COPY ./portal .
2626RUN npm run build
2727
2828# Stage 2: Build the Go binary
29- FROM quay.io/theauthgear/golang:1.24.4 -noble AS authgear-portal-stage-2
29+ FROM quay.io/theauthgear/golang:1.24.6 -noble AS authgear-portal-stage-2
3030
3131# Install build time C dependencies
3232RUN set -eux; \
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ COPY Makefile .
1515RUN make authui
1616
1717# Stage 1: Build the Go binary
18- FROM quay.io/theauthgear/golang:1.24.4 -noble AS authgear-stage-1
18+ FROM quay.io/theauthgear/golang:1.24.6 -noble AS authgear-stage-1
1919
2020# Install build time C dependencies
2121RUN set -eux; \
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ COPY ./portal .
2626RUN npm run build
2727
2828# Stage 2: Build the Go binary
29- FROM quay.io/theauthgear/golang:1.24.4 -noble AS authgear-portal-stage-2
29+ FROM quay.io/theauthgear/golang:1.24.6 -noble AS authgear-portal-stage-2
3030
3131# Install build time C dependencies
3232RUN set -eux; \
Original file line number Diff line number Diff line change 11module github.com/authgear/authgear-server/custombuild
22
3- go 1.24.4
3+ go 1.24.6
44
55replace github.com/authgear/authgear-server v0.0.0 => ../
66
Original file line number Diff line number Diff line change 11module github.com/authgear/authgear-server/e2e
22
3- go 1.24.4
3+ go 1.24.6
44
55replace github.com/authgear/authgear-server v0.0.0 => ../
66
Original file line number Diff line number Diff line change 1515 let
1616 pkgs = import nixpkgs {
1717 inherit system ;
18- # Build 1.24.4 ourselves.
1918 overlays = [
2019 ( final : prev : {
2120 go = (
2221 prev . go . overrideAttrs {
23- version = "1.24.4 " ;
22+ version = "1.24.6 " ;
2423 src = prev . fetchurl {
25- url = "https://go.dev/dl/go1.24.4 .src.tar.gz" ;
26- hash = "sha256-WoaoOjH5+oFJC4xUIKw4T9PZWj5x+6Zlx7P5XR3+8rQ =" ;
24+ url = "https://go.dev/dl/go1.24.6 .src.tar.gz" ;
25+ hash = "sha256-4ctVgqq1iGaLwEwH3hhogHD2uMmyqvNh+CHhm9R8/b0 =" ;
2726 } ;
2827 }
2928 ) ;
3433 {
3534 devShells . default = pkgs . mkShell {
3635 packages = [
37- # 1.24.4
3836 pkgs . go
3937 # Any nodejs 20 is fine.
4038 pkgs . nodejs_20
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ module github.com/authgear/authgear-server
22
33// go1.21 supports toolchain
44// See https://go.dev/doc/toolchain
5- go 1.24.4
5+ go 1.24.6
66
77require (
88 github.com/Masterminds/sprig v2.22.0+incompatible
You can’t perform that action at this time.
0 commit comments