Skip to content

Commit

Permalink
I'm good at this
Browse files Browse the repository at this point in the history
  • Loading branch information
rmb938 committed Jan 9, 2018
1 parent 439fcd1 commit 9cdb7c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ script:
- make build-windows
- make build-osx
- docker build -t sandwichcloud/terraform-provider-sandwich:latest .
- if [ -n "$TRAVIS_TAG" ]; docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; fi
- if [ -n "$TRAVIS_TAG" ]; docker tag sandwichcloud/terraform-provider-sandwich:latest "sandwichcloud/terraform-provider-sandwich:$TRAVIS_TAG"; fi
- if [ -n "$TRAVIS_TAG" ]; docker push "sandwichcloud/terraform-provider-sandwich:$TRAVIS_TAG"; fi
- if [ -n "$TRAVIS_TAG" ]; docker push sandwichcloud/terraform-provider-sandwich:latest; fi
- if [ -n "$TRAVIS_TAG" ]; then docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; fi
- if [ -n "$TRAVIS_TAG" ]; then docker tag sandwichcloud/terraform-provider-sandwich:latest "sandwichcloud/terraform-provider-sandwich:$TRAVIS_TAG"; fi
- if [ -n "$TRAVIS_TAG" ]; then docker push "sandwichcloud/terraform-provider-sandwich:$TRAVIS_TAG"; fi
- if [ -n "$TRAVIS_TAG" ]; then docker push sandwichcloud/terraform-provider-sandwich:latest; fi

deploy:
provider: releases
Expand Down

0 comments on commit 9cdb7c9

Please sign in to comment.