Skip to content

Commit

Permalink
Use presto-oss to tag/commit on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
aweisberg committed Mar 24, 2021
1 parent 633e51b commit 9dac06a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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-*`
Expand Down
Binary file removed .travis/github_tags_push_deploy_key.enc
Binary file not shown.

0 comments on commit 9dac06a

Please sign in to comment.