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 7575 runs-on : ubuntu-latest
7676 services :
7777 postgres :
78- image : postgres:16 .4
78+ image : postgres:17 .4
7979 env :
8080 POSTGRES_DB : ctf01d_training_platform_test
8181 POSTGRES_USER : postgres
Original file line number Diff line number Diff line change @@ -39,13 +39,12 @@ database-run:
3939 else \
4040 echo " Creating and starting container ctf01d-postgres..." ; \
4141 docker run --rm -d \
42- -v $(PWD ) /docker_tmp/pg_data:/var/lib/postgresql/data/ \
4342 --name ctf01d-postgres \
4443 -e POSTGRES_DB=ctf01d_training_platform \
4544 -e POSTGRES_USER=postgres \
4645 -e POSTGRES_PASSWORD=postgres \
4746 -e PGPORT=4112 \
48- -p 4112:4112 postgres:16 .4; \
47+ -p 4112:4112 postgres:17 .4; \
4948 fi
5049
5150# Attach to the running PostgreSQL container
9392
9493# Generate Go server boilerplate from OpenAPI 3
9594codegen :
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 11services :
22 ctf_training_platform_db :
3- image : postgres:16 .4
3+ image : postgres:17 .4
44 restart : always
55 environment :
66 POSTGRES_USER : postgres
You can’t perform that action at this time.
0 commit comments