Trying something else

This commit is contained in:
Aaron Louie 2020-05-07 15:50:54 -04:00
parent 604534553b
commit 6a2d9b5080
2 changed files with 2 additions and 3 deletions

View File

@ -14,7 +14,7 @@ deploy:
skip_cleanup: true skip_cleanup: true
on: on:
all_branches: true all_branches: true
condition: $TRAVIS_BRANCH =~ ^(testing|staging|master)$ # condition: $TRAVIS_BRANCH =~ ^(testing|staging|master)$
notifications: notifications:
email: email:

View File

@ -1,6 +1,5 @@
FROM postgres FROM postgres
ARG GIT_COMMIT="" ARG GIT_COMMIT=""
RUN echo "GIT_COMMIT = ${GIT_COMMIT}" CMD echo 'echo "git commit = ${GIT_COMMIT}"' >> ./initdb.sh
COPY ./initdb.sh /docker-entrypoint-initdb.d/initdb.sh COPY ./initdb.sh /docker-entrypoint-initdb.d/initdb.sh
CMD echo 'echo "git commit = ${GIT_COMMIT}"' >> /docker-entrypoint-initdb.d/initdb.sh
EXPOSE 5432 EXPOSE 5432