diff --git a/.travis.yml b/.travis.yml index 495151a..1f7d01d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ deploy: skip_cleanup: true on: all_branches: true - condition: $TRAVIS_BRANCH =~ ^(testing|staging|master)$ +# condition: $TRAVIS_BRANCH =~ ^(testing|staging|master)$ notifications: email: diff --git a/Dockerfile b/Dockerfile index 3abddd6..87d8362 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,5 @@ FROM postgres 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 -CMD echo 'echo "git commit = ${GIT_COMMIT}"' >> /docker-entrypoint-initdb.d/initdb.sh EXPOSE 5432