Skip to content

Commit

Permalink
ci(actions): no longer spin up useless containers
Browse files Browse the repository at this point in the history
  • Loading branch information
BrycensRanch committed Oct 3, 2023
1 parent 7e28c8d commit 6ee2401
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,19 @@ jobs:

runs-on: ${{ matrix.os }}
# Service containers to run with `container-job`
services:
# Label used to access the service container
postgres:
# Docker Hub image
image: 'postgres:alpine'
# Provide the password for postgres
env:
POSTGRES_USER: prisma_user
POSTGRES_PASSWORD: CHANGE_ME_PLEASE_OR_I_WILL_CRY
POSTGRES_DB: prisma
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
# services:
# # Label used to access the service container
# postgres:
# # Docker Hub image
# image: 'postgres:alpine'
# # Provide the password for postgres
# env:
# POSTGRES_USER: prisma_user
# POSTGRES_PASSWORD: CHANGE_ME_PLEASE_OR_I_WILL_CRY
# POSTGRES_DB: prisma
# # Set health checks to wait until postgres has started
# options: >-
# --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

# redis:
# # Docker Hub image
Expand Down

0 comments on commit 6ee2401

Please sign in to comment.