Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

Commit

Permalink
Updated deploy script to allow push to Docker when not master
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasjackson committed Oct 4, 2018
1 parent 5dfebed commit e6065dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion travis_deploy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if ([ "$TRAVIS_BRANCH" == "master" ] || [ ! -z "$TRAVIS_TAG" ]) && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
if ([ ! -z "$TRAVIS_TAG" ]) && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
cd $GOPATH/src/github.com/hashicorp/faas-nomad;
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" quay.io;
goreleaser --rm-dist --skip-validate
Expand Down

0 comments on commit e6065dc

Please sign in to comment.