File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 75
75
runs-on : ubuntu-latest
76
76
services :
77
77
postgres :
78
- image : postgres:16 .4
78
+ image : postgres:17 .4
79
79
env :
80
80
POSTGRES_DB : ctf01d_training_platform_test
81
81
POSTGRES_USER : postgres
Original file line number Diff line number Diff line change @@ -39,13 +39,12 @@ database-run:
39
39
else \
40
40
echo " Creating and starting container ctf01d-postgres..." ; \
41
41
docker run --rm -d \
42
- -v $(PWD ) /docker_tmp/pg_data:/var/lib/postgresql/data/ \
43
42
--name ctf01d-postgres \
44
43
-e POSTGRES_DB=ctf01d_training_platform \
45
44
-e POSTGRES_USER=postgres \
46
45
-e POSTGRES_PASSWORD=postgres \
47
46
-e PGPORT=4112 \
48
- -p 4112:4112 postgres:16 .4; \
47
+ -p 4112:4112 postgres:17 .4; \
49
48
fi
50
49
51
50
# Attach to the running PostgreSQL container
93
92
94
93
# Generate Go server boilerplate from OpenAPI 3
95
94
codegen :
96
- oapi-codegen -generate models,chi -o internal/httpserver/httpserver.gen.go --package httpserver api/openapi.yaml
95
+ oapi-codegen -generate models,gin -o internal/httpserver/httpserver.gen.go --package httpserver api/openapi.yaml
Original file line number Diff line number Diff line change 1
1
services :
2
2
ctf_training_platform_db :
3
- image : postgres:16 .4
3
+ image : postgres:17 .4
4
4
restart : always
5
5
environment :
6
6
POSTGRES_USER : postgres
You can’t perform that action at this time.
0 commit comments