Skip to content

Commit

Permalink
chore: login to docker when deploying (#576)
Browse files Browse the repository at this point in the history
* feat: cmd/indexer docker container

* fix: missing docker service

* chore: login to docker when doing a deploy
  • Loading branch information
robdefeo committed Feb 19, 2020
1 parent 19c3ca7 commit 566617e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Expand Up @@ -53,7 +53,7 @@ archives:
format_overrides:
- goos: windows
format: zip
name_template: "{{.ProjectName}}-v{{.Version}}-{{.Os}}-{{.Arch}}"
name_template: "{{.ProjectName}}-{{.Version}}-{{.Os}}-{{.Arch}}"
replacements:
amd64: 64bit
386: 32bit
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -25,7 +25,7 @@ script:
- git diff --exit-code
deploy:
- provider: script
script: docker run -e GITHUB_TOKEN=$GITHUB_TOKEN --rm --privileged -v $TRAVIS_BUILD_DIR:/go/src/github.com/mailchain/mailchain -v /var/run/docker.sock:/var/run/docker.sock -w /go/src/github.com/mailchain/mailchain mailchain/goreleaser-xcgo goreleaser --rm-dist
script: docker run -e DOCKER_USERNAME=$DOCKER_USERNAME -e DOCKER_PASSWORD=$DOCKER_PASSWORD -e GITHUB_TOKEN=$GITHUB_TOKEN --rm --privileged -v $TRAVIS_BUILD_DIR:/go/src/github.com/mailchain/mailchain -v /var/run/docker.sock:/var/run/docker.sock -w /go/src/github.com/mailchain/mailchain mailchain/goreleaser-xcgo goreleaser --rm-dist
skip_cleanup: true
on:
tags: true
Expand Down

0 comments on commit 566617e

Please sign in to comment.