01 Actions file
We will now setup automatic building of docker images, and pushing it to your private repo, using GitHub Actions.
- Open
ops2devops.yml - Talk about the the file in class.
- On
- Env
- Variables
- Jobs
- Packages
To make all the enviroment variables in the file work, we need to add them to Github first.
- Open your repo in github, and select the
Settingstab. - Select
Secretsfrom the menu, and selectActions - In to top right, select
New repository secretand create the following 2 secrets. REPO_USERwith the valueops2devopsREPO_PASSwith the valueVMware1!
This allows the action to use your username and password, in a more secure way, during run.