Skip to content

Commit

Permalink
updated ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nokibul committed Mar 26, 2024
1 parent c54d3b5 commit 754802c
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/first-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,21 @@ on:
jobs:
build:
runs-on: ubuntu-latest

services:
image: postges:latest
ports:
- 5432:5432
env:
POSTGRES_USER: my_database
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
postgres:
image: postgres
env:
POSTGRES_USER: my_database
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432


steps:
- name: Checkout code
Expand Down

0 comments on commit 754802c

Please sign in to comment.