Goal of this project is to share simple bash scripts that could used directly in the build process.
Go to the github and open you specific script that you would like to use in raw mode. Copy URL and past to your .travis.yml file in the following way:
curl -s https://raw.githubusercontent.com/PiwikPRO/cloud-TravisScripts/master/docker_login_ecr.sh | bash
This script requires following ENV VARS:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_REGION
All this data is available in AWS panel.
This script configures aws cli tool with given credentials and requests docker's login command with username and password that allows to login.
-
0.1.1
- Added
--no-include-email
in docker_login_ecr.sh
- Added
-
0.1.0
- initial version