Skip to content

Fix release pipeline: Update Dockerfile to use Go 1.25#6

Merged
finnng merged 2 commits intomasterfrom
copilot/fix-release-pipeline-error
Nov 28, 2025
Merged

Fix release pipeline: Update Dockerfile to use Go 1.25#6
finnng merged 2 commits intomasterfrom
copilot/fix-release-pipeline-error

Conversation

Copy link
Contributor

Copilot AI commented Nov 28, 2025

Release pipeline failing with go mod download exit code 1 due to Go version mismatch between Dockerfile (golang:1.24-alpine) and go.mod requirement (go 1.25.1).

Changes

  • Updated Dockerfile base image from golang:1.24-alpine to golang:1.25-alpine
FROM golang:1.25-alpine AS builder
Original prompt

This section details on the original issue you should resolve

<issue_title>Release pipeline failed</issue_title>
<issue_description>The release pipeline is failed with error
Error: buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c go mod download" did not complete successfully: exit code: 1
https://github.com/finnng/k8s-node-proxy/actions/runs/19752586624
Please investigate and resolve
</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: finnng <70201188+finnng@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix release pipeline failure due to buildx error Fix release pipeline: Update Dockerfile to use Go 1.25 Nov 28, 2025
Copilot AI requested a review from finnng November 28, 2025 02:59
@finnng finnng marked this pull request as ready for review November 28, 2025 03:01
Copilot AI review requested due to automatic review settings November 28, 2025 03:01
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a release pipeline failure caused by a Go version mismatch between the Dockerfile and go.mod. The Dockerfile was using Go 1.24 while go.mod required Go 1.25.1, causing the go mod download command to fail during the Docker build process.

Key Changes:

  • Updated Dockerfile base image from golang:1.24-alpine to golang:1.25-alpine to match the go.mod requirement

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@finnng finnng merged commit 9d8462d into master Nov 28, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release pipeline failed

3 participants