From cbe82c31b3192233fae460eac09308058f38d3b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= Date: Sat, 21 Mar 2026 22:07:58 -0700 Subject: [PATCH 1/2] Upgrade to Go 1.26 & Alpine 3.23 --- deployment/docker/dredd/Dockerfile | 2 +- deployment/docker/runner/Dockerfile | 4 ++-- deployment/docker/server/Dockerfile | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deployment/docker/dredd/Dockerfile b/deployment/docker/dredd/Dockerfile index 4874087ae..fff577b0e 100644 --- a/deployment/docker/dredd/Dockerfile +++ b/deployment/docker/dredd/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.24-alpine3.21 as golang +FROM golang:1.26-alpine3.23 as golang RUN apk add --no-cache -U \ curl git diff --git a/deployment/docker/runner/Dockerfile b/deployment/docker/runner/Dockerfile index 8c809e6dc..dc1107456 100644 --- a/deployment/docker/runner/Dockerfile +++ b/deployment/docker/runner/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.24-alpine3.21 as builder +FROM --platform=$BUILDPLATFORM golang:1.26-alpine3.23 as builder RUN apk add --no-cache -U \ libc-dev curl nodejs npm git gcc zip unzip tar @@ -45,7 +45,7 @@ RUN curl -O https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraf RUN wget -O /tmp/terragrunt https://github.com/gruntwork-io/terragrunt/releases/download/v${TERRAGRUNT_VERSION}/terragrunt_linux_${TARGETARCH} && \ chmod +x /tmp/terragrunt -FROM alpine:3.21 +FROM alpine:3.23 ARG TARGETARCH="amd64" diff --git a/deployment/docker/server/Dockerfile b/deployment/docker/server/Dockerfile index 12e5e1b35..5faa21484 100644 --- a/deployment/docker/server/Dockerfile +++ b/deployment/docker/server/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.24-alpine3.21 as builder +FROM --platform=$BUILDPLATFORM golang:1.26-alpine3.23 as builder RUN apk add --no-cache -U \ libc-dev curl nodejs npm git gcc zip unzip tar @@ -46,7 +46,7 @@ RUN curl -O https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraf RUN wget -O /tmp/terragrunt https://github.com/gruntwork-io/terragrunt/releases/download/v${TERRAGRUNT_VERSION}/terragrunt_linux_${TARGETARCH} && \ chmod +x /tmp/terragrunt -FROM alpine:3.21 +FROM alpine:3.23 ARG TARGETARCH="amd64" # renovate: datasource=pypi depName=ansible From 3d490460ef36bfa3cbe2bf7d75e13676eb66dd4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= Date: Sat, 21 Mar 2026 22:33:25 -0700 Subject: [PATCH 2/2] Update Go version to 1.26 in go.mod and CI workflows Align go.mod and GitHub Actions workflows with the Go 1.26 Docker base images updated in the previous commit. --- .github/workflows/community_beta.yml | 2 +- .github/workflows/community_release.yml | 2 +- .github/workflows/dev.yml | 10 +++++----- .github/workflows/pro_selfhosted_beta.yml | 2 +- .github/workflows/pro_selfhosted_release.yml | 2 +- go.mod | 2 +- pro/go.mod | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/community_beta.yml b/.github/workflows/community_beta.yml index 8aa0c568d..7966adede 100644 --- a/.github/workflows/community_beta.yml +++ b/.github/workflows/community_beta.yml @@ -19,7 +19,7 @@ jobs: - name: Setup golang uses: actions/setup-go@v5 with: - go-version: '^1.24.6' + go-version: '^1.26' - name: Setup nodejs uses: actions/setup-node@v4 diff --git a/.github/workflows/community_release.yml b/.github/workflows/community_release.yml index c1d6d2794..e63c43325 100644 --- a/.github/workflows/community_release.yml +++ b/.github/workflows/community_release.yml @@ -20,7 +20,7 @@ jobs: - name: Setup golang uses: actions/setup-go@v5 with: - go-version: '^1.24.6' + go-version: '^1.26' - name: Setup nodejs uses: actions/setup-node@v4 diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index cb9239827..572312b6c 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -20,7 +20,7 @@ jobs: - name: Setup golang uses: actions/setup-go@v5 with: - go-version: '^1.24.6' + go-version: '^1.26' - name: Setup nodejs uses: actions/setup-node@v4 @@ -254,7 +254,7 @@ jobs: - name: Setup golang uses: actions/setup-go@v5 with: - go-version: '^1.24.6' + go-version: '^1.26' - name: Setup nodejs uses: actions/setup-node@v4 @@ -335,7 +335,7 @@ jobs: - name: Setup golang uses: actions/setup-go@v5 with: - go-version: '^1.24.6' + go-version: '^1.26' - name: Setup nodejs uses: actions/setup-node@v4 @@ -415,7 +415,7 @@ jobs: - name: Setup golang uses: actions/setup-go@v5 with: - go-version: '^1.24.6' + go-version: '^1.26' - name: Setup nodejs uses: actions/setup-node@v4 @@ -480,7 +480,7 @@ jobs: - name: Setup golang uses: actions/setup-go@v5 with: - go-version: '^1.24.6' + go-version: '^1.26' - name: Setup nodejs uses: actions/setup-node@v4 diff --git a/.github/workflows/pro_selfhosted_beta.yml b/.github/workflows/pro_selfhosted_beta.yml index 2a14c602c..5e6223f42 100644 --- a/.github/workflows/pro_selfhosted_beta.yml +++ b/.github/workflows/pro_selfhosted_beta.yml @@ -20,7 +20,7 @@ jobs: - name: Setup golang uses: actions/setup-go@v5 with: - go-version: '^1.24.6' + go-version: '^1.26' - name: Setup nodejs uses: actions/setup-node@v4 diff --git a/.github/workflows/pro_selfhosted_release.yml b/.github/workflows/pro_selfhosted_release.yml index 40aaafb1b..a34207388 100644 --- a/.github/workflows/pro_selfhosted_release.yml +++ b/.github/workflows/pro_selfhosted_release.yml @@ -19,7 +19,7 @@ jobs: - name: Setup golang uses: actions/setup-go@v5 with: - go-version: '^1.24.6' + go-version: '^1.26' - name: Setup nodejs uses: actions/setup-node@v4 diff --git a/go.mod b/go.mod index 3abc5ee26..2a7fdb5d9 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/semaphoreui/semaphore -go 1.24.6 +go 1.26 require ( github.com/Masterminds/squirrel v1.5.4 diff --git a/pro/go.mod b/pro/go.mod index b400e5c59..7300c48fe 100644 --- a/pro/go.mod +++ b/pro/go.mod @@ -1,6 +1,6 @@ module github.com/semaphoreui/semaphore/pro -go 1.24.6 +go 1.26 require github.com/semaphoreui/semaphore v0.0.0-20250712180151-72836311c5b9