Skip to content

Commit

Permalink
travis: DOCKER_REPOSITORY is no longer set. Don't require it.
Browse files Browse the repository at this point in the history
  • Loading branch information
msekletar committed Jun 4, 2018
1 parent 3f4b547 commit f0b19a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions travis-ci/scripts/build-docker-image.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#!/bin/bash

# Check environment
[ -z "$DOCKER_REPOSITORY" ] && echo "ERROR: DOCKER_REPOSITORY must be set" && exit 1
[ -z "$TRAVIS_COMMIT" ] && echo "ERROR: TRAVIS_COMMIT must be set" && exit 1

# Build docker image
echo -e "\n\033[33;1mBuilding docker image: $DOCKER_REPOSITORY:$TRAVIS_COMMIT.\033[0m"
echo -e "\n\033[33;1mBuilding docker image: coverity-$TRAVIS_COMMIT.\033[0m"

docker build \
--build-arg DOCKER_USER=$USER \
Expand Down

0 comments on commit f0b19a0

Please sign in to comment.