From 994a091595b35a36e1d277c741eed342aea93781 Mon Sep 17 00:00:00 2001 From: florian kinder Date: Fri, 24 Jan 2020 10:43:25 +0100 Subject: [PATCH] Don't update dockerhub on pull requests --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5cfc3f5..6121b03 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ dist: xenial language: bash -services: +services: - docker addons: @@ -29,6 +29,6 @@ jobs: - <<: *build env: VERSION_SHORT=0.14 - <<: *build - if: branch = master + if: branch = master AND type != pull_request env: script: docker run -v $PWD:/workspace -e DOCKERHUB_USERNAME=$DOCKER_USERNAME -e DOCKERHUB_PASSWORD=$DOCKER_PASSWORD -e DOCKERHUB_REPOSITORY='factoriotools/factorio' -e README_FILEPATH='/workspace/README.md' peterevans/dockerhub-description:2.1.0