bump golang version

Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
Ronni Skansing
2025-09-18 14:00:37 +02:00
parent 0f7a969b06
commit f2ea4e8570
3 changed files with 3 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ jobs:
-v "$(pwd)":/app \ -v "$(pwd)":/app \
-w /app/backend \ -w /app/backend \
-e CGO_ENABLED=1 \ -e CGO_ENABLED=1 \
golang:1.24 \ golang:1.25.1 \
go build -trimpath \ go build -trimpath \
-ldflags='-X github.com/phishingclub/phishingclub/version.hash=ph${{ steps.get_version.outputs.HASH }} -X github.com/phishingclub/phishingclub/version.version=${{ steps.get_version.outputs.VERSION }}' \ -ldflags='-X github.com/phishingclub/phishingclub/version.hash=ph${{ steps.get_version.outputs.HASH }} -X github.com/phishingclub/phishingclub/version.version=${{ steps.get_version.outputs.VERSION }}' \
-tags production -o ../build/phishingclub main.go -tags production -o ../build/phishingclub main.go

View File

@@ -45,7 +45,7 @@ jobs:
-v "$(pwd)":/app \ -v "$(pwd)":/app \
-w /app/backend \ -w /app/backend \
-e CGO_ENABLED=1 \ -e CGO_ENABLED=1 \
golang:1.24 \ golang:1.25.1 \
go build -trimpath \ go build -trimpath \
-ldflags='-X github.com/phishingclub/phishingclub/version.hash=ph${{ steps.get_version.outputs.HASH }} -X github.com/phishingclub/phishingclub/version.version=${{ steps.get_version.outputs.VERSION }}' \ -ldflags='-X github.com/phishingclub/phishingclub/version.hash=ph${{ steps.get_version.outputs.HASH }} -X github.com/phishingclub/phishingclub/version.version=${{ steps.get_version.outputs.VERSION }}' \
-tags production -o ../build/phishingclub main.go -tags production -o ../build/phishingclub main.go

View File

@@ -1,5 +1,5 @@
# development docker file # development docker file
FROM golang:1.24.5 FROM golang:1.25.1
EXPOSE 8000 8001 EXPOSE 8000 8001