forked from supercharge/mongodb-github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log into Dockerhub when credentials are provided
What? - Add 2 new optional inputs to the Github action: - `dockerhub-username`: the "docker ID" (aka username) for the Dockerhub account the action should log in as - `dockerhub-password`: the account password or a personal access token used to authorize the account login. - Update the `./start-mongodb.sh` script to log into Dockerhub when these two inputs are provided. Why? - To allow users to authenticate with Dockerhub, and increase their rate limits. Otherwise, unauthorized requests can be rate limited, see: - https://www.docker.com/increase-rate-limits/ - supercharge#62
- Loading branch information
1 parent
5a87bd8
commit ebe17b8
Showing
3 changed files
with
43 additions
and
7 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
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
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