1
0
mirror of https://github.com/bplein/factorio-docker.git synced 2025-01-10 03:16:41 +02:00

Don't update dockerhub on pull requests

This commit is contained in:
florian kinder 2020-01-24 10:43:25 +01:00
parent c754e64e47
commit 994a091595

View File

@ -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