Skip to content

Commit 66e2565

Browse files
committed
build(infra): ⚡ update postgres 16 -> 17
1 parent 496e31c commit 66e2565

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
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

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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
@@ -93,4 +92,4 @@ test:
9392

9493
# Generate Go server boilerplate from OpenAPI 3
9594
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

build/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
ctf_training_platform_db:
3-
image: postgres:16.4
3+
image: postgres:17.4
44
restart: always
55
environment:
66
POSTGRES_USER: postgres

0 commit comments

Comments
 (0)