|
@@ -44,7 +44,6 @@ jobs:
|
|
|
POSTGRES_PASSWORD: password
|
|
|
ports:
|
|
|
- 5432:5432
|
|
|
- # Set health checks to wait until postgres has started
|
|
|
options: >-
|
|
|
--health-cmd pg_isready
|
|
|
--health-interval 10s
|
|
@@ -87,8 +86,8 @@ jobs:
|
|
|
|
|
|
- name: Build a docker image
|
|
|
run: |
|
|
|
- # if [ "$GITHUB_EVENT_NAME" = push -a "$GITHUB_REF_NAME" = master ]; then
|
|
|
- # ./build_docker_image.sh --push
|
|
|
- # else
|
|
|
- ./build_docker_image.sh
|
|
|
- # fi
|
|
|
+ if [ "$GITHUB_EVENT_NAME" = push -a "$GITHUB_REF_NAME" = master ]; then
|
|
|
+ ./build_docker_image.sh --push
|
|
|
+ else
|
|
|
+ ./build_docker_image.sh
|
|
|
+ fi
|