-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use presto-oss to tag/commit on deploy
- Loading branch information
Showing
2 changed files
with
2 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,12 +23,8 @@ install: make ${IMAGE_TO_BUILD} | |
script: make test IMAGE_TO_TEST=${IMAGE_TO_TEST} | ||
|
||
before_deploy: | ||
# decrypt the github deploy key | ||
- openssl aes-256-cbc -K $encrypted_cd2beb64619c_key -iv $encrypted_cd2beb64619c_iv | ||
-in .travis/github_tags_push_deploy_key.enc -out .travis/github_tags_push_deploy_key -d | ||
- chmod 600 .travis/github_tags_push_deploy_key | ||
- eval "$(ssh-agent -s)" | ||
- ssh-add .travis/github_tags_push_deploy_key | ||
- git config --global user.email "[email protected]" && git config --global user.name "Presto Bot" | ||
- echo "machine github.com login presto-oss password ${PRESTOOSS_PAT} > ~/.netrc | ||
- docker login --username=${DOCKERHUB_LOGIN} --password=${DOCKERHUB_PASSWORD} | ||
|
||
# Publish snapshots to Dockerhub for commits tagged `latest-snapshot-*` | ||
|
Binary file not shown.