Skip to content

Commit

Permalink
Pass environment variables for goreleaser using docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
albertusdev committed Sep 5, 2019
1 parent f16c3b6 commit a273107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -19,7 +19,7 @@ before_deploy:

deploy:
- provider: script
script: docker run --rm --privileged -v $(pwd):/darkroom -v /var/run/docker.sock:/var/run/docker.sock -w /darkroom bepsays/ci-goreleaser goreleaser release --skip-validate --rm-dist
script: docker run --rm --privileged -v $(pwd):/darkroom -v /var/run/docker.sock:/var/run/docker.sock -w /darkroom -e GITHUB_TOKEN -e DOCKER_USER -e DOCKER_PASSWORD bepsays/ci-goreleaser goreleaser release --skip-validate --rm-dist
skip_cleanup: true
on:
tags: true
Expand Down

0 comments on commit a273107

Please sign in to comment.