Discussed in #3389
Originally posted by phil535 May 17, 2024
Running sqlc version 1.26.0 using docker image generates wrong sqlc version header.

Command:
docker run --rm --user $UID:$GID --volume ./:/src --workdir /src sqlc/sqlc:1.26.0 generate
I used the postgres tutorial example for input but the input should not matter.
This is my sqlc config:
version: "2"
sql:
- engine: "postgresql"
queries: "*.sql"
schema: "*.sql"
gen:
go:
package: "tutorial"
out: "tutorial"
sql_package: "pgx/v5"
The sqlc 1.26.0 release with the same config and input works as expected.
Is there anything i missed? Do you have the same behavious with that image from docker.io?