Skip to content

Conversation

@fank
Copy link
Member

@fank fank commented Jan 19, 2026

Summary

  • Update Dockerfile to use golang:1.24-alpine (was 1.22)
  • Use go-version-file: 'go.mod' in CI workflow instead of hardcoded version

Problem

Recent Dependabot PRs (viper 1.21.0, echo 4.15.0) bumped go.mod to require Go 1.24.0. PR checks passed because:

  1. The test job uses setup-go which resolved to Go 1.24+
  2. The Docker build only runs on push to main, not on PRs

After merge, the Docker build failed because the Dockerfile still used golang:1.22-alpine.

Test plan

  • CI passes (test job + Docker build)

The Dockerfile was using golang:1.22-alpine while go.mod requires
Go 1.24.0 after recent dependency updates. This caused the Docker
build to fail on main after merging Dependabot PRs.

- Update Dockerfile to use golang:1.24-alpine
- Use go-version-file in CI workflow to read version from go.mod
@fank fank merged commit bcac636 into main Jan 19, 2026
3 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.

2 participants