Skip to content

Commit

Permalink
e correct postgres version
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiang committed Sep 16, 2024
1 parent f1353ba commit 711f933
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,22 @@ jobs:
zabbix:
- version: "4.0"
suffix: "-latest"
postgress_version: "15-alpine"
- version: "5.0"
suffix: "-latest"
postgress_version: "15-alpine"
- version: "6.0"
suffix: "-latest"
postgress_version: "15-alpine"
- version: "6.2"
suffix: "-latest"
postgress_version: "15-alpine"
- version: "6.4"
suffix: "-latest"
postgress_version: "16-alpine"
- version: "7.0"
suffix: "-latest"
postgress_version: "16-alpine"

name: "Zabbix ${{ matrix.zabbix.version }} Integration Tests"

Expand All @@ -67,6 +73,7 @@ jobs:
env:
ZBX_VERSION: "${{ matrix.zabbix.version }}"
ZBX_VERSION_SUFFIX: "${{ matrix.zabbix.suffix }}"
POSTGRES_VERSION: "${{ postgress_version }}"

- name: Wait for Zabbix server to become available
id: wait_for_server
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
- ZBX_ALLOWUNSUPPORTEDDBVERSIONS=1

database:
image: postgres
image: postgres:${POSTGRES_VERSION:-alpine}
environment:
- POSTGRES_USER=zabbix
- POSTGRES_PASSWORD=zabbix
Expand Down

0 comments on commit 711f933

Please sign in to comment.