Skip to content

Commit

Permalink
Sets 0600 on Gem Credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Nordman committed Jan 16, 2019
1 parent 7b64217 commit b8b21c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
echo "Setting up gem credentials..."
set +x
mkdir -p ~/.gem

cat << EOF > ~/.gem/credentials
---
:github: Bearer ${GITHUB_TOKEN}
:rubygems_api_key: ${RUBYGEMS_API_KEY}
EOF

chmod 0600 ~/.gem/credentials
set -x

echo "Installing dependencies..."
Expand Down

0 comments on commit b8b21c3

Please sign in to comment.