Skip to content

Commit

Permalink
export creds env in build step
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrildiagne committed Dec 31, 2019
1 parent 4176de7 commit ff4be9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
- image: circleci/golang:1.13
steps:
- checkout
- run: echo $GCLOUD_SERVICE_KEY | base64 --decode --ignore-garbage > ${HOME}/gcloud-service-key.json
- run: echo $GCLOUD_SERVICE_KEY | base64 --decode --ignore-garbage > /tmp/gcloud-service-key.json
- run: export GOOGLE_APPLICATION_CREDENTIALS=/tmp/gcloud-service-key.json
- run: go test github.com/cyrildiagne/kuda/pkg/kuda
- run: curl -sL https://git.io/goreleaser | bash
workflows:
Expand Down

0 comments on commit ff4be9f

Please sign in to comment.