diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afe1c0e79..90c569123 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,10 +61,17 @@ jobs: image: postgres:10 env: POSTGRES_HOST_AUTH_METHOD: trust + POSTGRES_DB: postgres + POSTGRES_USER: postgres + POSTGRES_PASSWORD: '' ports: - 5432:5432 # needed because the postgres container does not provide a healthcheck - options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 + options: >- + --health-cmd="pg_isready -U postgres -d postgres" + --health-interval=10s + --health-timeout=5s + --health-retries=5 redis: image: redis:5 @@ -250,4 +257,4 @@ jobs: name: Image Push if: github.event_name == 'push' # exclude PRs run: | - docker push scrumteamzgw/zac-ui:${{ steps.vars.outputs.tag }}\ + docker push scrumteamzgw/zac-ui:${{ steps.vars.outputs.tag }}\ \ No newline at end of file