diff --git a/.agola/config.jsonnet b/.agola/config.jsonnet index 581db8ae..c735912e 100644 --- a/.agola/config.jsonnet +++ b/.agola/config.jsonnet @@ -128,7 +128,7 @@ local task_build_push_images(name, target, push) = [ task_build_go(version, arch), ] - for version in ['1.22', '1.23'] + for version in ['1.23', '1.24'] for arch in ['amd64' /*, 'arm64' */] ]) + [ { @@ -139,7 +139,7 @@ local task_build_push_images(name, target, push) = { type: 'run', command: 'SKIP_K8S_TESTS=1 AGOLA_TOOLBOX_PATH="./bin" ./bin/docker-tests -test.parallel 5 -test.v' }, ], depends: [ - 'build go 1.23 amd64', + 'build go 1.24 amd64', ], }, { @@ -162,7 +162,7 @@ local task_build_push_images(name, target, push) = { type: 'run', name: 'integration tests', command: 'AGOLA_BIN_DIR="./bin" GITEA_PATH=${PWD}/bin/gitea DOCKER_BRIDGE_ADDRESS="172.18.0.1" ./bin/integration-tests -test.parallel 3 -test.v' }, ], depends: [ - 'build go 1.23 amd64', + 'build go 1.24 amd64', ], }, { diff --git a/Dockerfile b/Dockerfile index a5196340..a1f34e22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ FROM $AGOLAWEB_IMAGE as agola-web ####### # base build image -FROM golang:1.23-bookworm AS build_base +FROM golang:1.24-bookworm AS build_base WORKDIR /agola diff --git a/go.mod b/go.mod index e8433f92..2d191afa 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module agola.io/agola -go 1.22.0 +go 1.23.0 require ( ariga.io/atlas v0.12.0