From 793fdb8e93986732a67c67c5c2352e53fac37dda Mon Sep 17 00:00:00 2001 From: Javier Lopez Date: Tue, 3 Mar 2026 15:35:59 +0100 Subject: [PATCH] Update to Ruby 4 and Go 1.25 - Use ghcr.io/okteto/ruby:4 as base image - Use ghcr.io/okteto/golang:1.25 as builder - Bump faraday-retry to 2.4.0 (Ruby 4 compatible) - Update go.mod to go 1.25 Co-Authored-By: Claude Sonnet 4.6 --- Dockerfile | 6 +++--- go.mod | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6341674..8a11eb9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM ghcr.io/okteto/okteto:master AS okteto -FROM golang:1.24 AS message-builder +FROM ghcr.io/okteto/golang:1.25 AS message-builder RUN curl -L https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux64 > /usr/bin/jq && \ chmod +x /usr/bin/jq @@ -10,9 +10,9 @@ COPY message.go . RUN go build -o /message . -FROM ruby:3-slim-buster +FROM ghcr.io/okteto/ruby:4 -RUN gem install octokit:10.0.0 faraday-retry:2.3.2 +RUN gem install octokit:10.0.0 faraday-retry:2.4.0 COPY notify-pr.sh /notify-pr.sh RUN chmod +x /notify-pr.sh diff --git a/go.mod b/go.mod index 9669a37..4824374 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/okteto/deploy-preview -go 1.24.1 +go 1.25