feat: split Dockerfile into dedicated lint stage #13
Reference in New Issue
Block a user
Delete Branch "fix/11-split-dockerfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Pin all Docker images by sha256 digest and restructure the Dockerfile to follow the standard split-stage pattern.
Changes
golangci/golangci-lint:v1.64.8(pinned by sha256) to rungolangci-lint runandgofmtcheckgolang:1.22(pinned by sha256) to rungo test -v ./...golang:1.22(pinned by sha256) — ensures both lint and test stages completeCOPY --from=lint /src/go.sum /dev/nullcreates BuildKit stage dependency to ensure lint always runs:latestand:1.22tags)Closes #11
Closing — the referenced issue #12 was already closed.
Pull request closed