From 1ddd5ed365e0e038fee792b9d5017f9929b38d99 Mon Sep 17 00:00:00 2001 From: Dirkjan Bussink Date: Tue, 9 Dec 2025 10:54:42 +0100 Subject: [PATCH] Update to the latest version of Go and other deps Signed-off-by: Dirkjan Bussink --- Dockerfile | 2 +- Makefile | 4 ++-- docker-compose.yml | 2 +- docker/Dockerfile.goreleaser | 4 ++-- go.mod | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 06d57433..d896bd06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.24.6 AS build +FROM golang:1.25.5 AS build WORKDIR /app COPY . . diff --git a/Makefile b/Makefile index e20c15c5..a406b176 100644 --- a/Makefile +++ b/Makefile @@ -11,8 +11,8 @@ endif REPO=planetscale NAME=pscale BUILD_PKG=github.com/planetscale/cli/cmd/pscale -GORELEASE_CROSS_VERSION ?= v1.24.6 -SYFT_VERSION ?= 1.9.0 +GORELEASE_CROSS_VERSION ?= v1.26.0 +SYFT_VERSION ?= 1.38.0 .PHONY: all all: build test lint diff --git a/docker-compose.yml b/docker-compose.yml index abce56f6..881a93db 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: app: - image: golang:1.24.6 + image: golang:1.25.5 volumes: - .:/work working_dir: /work diff --git a/docker/Dockerfile.goreleaser b/docker/Dockerfile.goreleaser index 7abec46f..30ee5c35 100644 --- a/docker/Dockerfile.goreleaser +++ b/docker/Dockerfile.goreleaser @@ -1,7 +1,7 @@ -ARG GORELEASE_CROSS_VERSION=v1.24.6 +ARG GORELEASE_CROSS_VERSION=v1.26.0 FROM ghcr.io/goreleaser/goreleaser-cross:${GORELEASE_CROSS_VERSION} RUN apt-get update --allow-releaseinfo-change || apt-get update; apt-get install -y openssh-client -ARG SYFT_VERSION=1.19.0 +ARG SYFT_VERSION=1.38.0 RUN wget -O syft.deb https://github.com/anchore/syft/releases/download/v${SYFT_VERSION}/syft_${SYFT_VERSION}_linux_amd64.deb && dpkg -i syft.deb diff --git a/go.mod b/go.mod index 16a1e112..53a0471c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/planetscale/cli -go 1.24.6 +go 1.25.5 require ( github.com/99designs/keyring v1.2.2