https://github.com/szolll/github_actions
Example of github actions, in action.
https://github.com/szolll/github_actions
docker github-actions
Last synced: 3 months ago
JSON representation
Example of github actions, in action.
- Host: GitHub
- URL: https://github.com/szolll/github_actions
- Owner: szolll
- License: mit
- Created: 2020-06-07T10:12:00.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-01T20:45:59.000Z (5 months ago)
- Last Synced: 2025-03-01T21:27:07.670Z (5 months ago)
- Topics: docker, github-actions
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Github actions
Example of github actions... in action.
## Configuration
In your github root create a folder structure as listed below and add the flow.
The name of the file doesn't matter as long as it ends with .yml or .yaml/.github/workflows/YOUR_FILE_HERE.yml
You'll have to create some github secrets for this to work, you could hardcode your docker credentials, but thats not the smartest thing one can do ;)
Create the following secrets
DOCKER_USERNAME
- your docker registry credentials
DOCKER_PASSWORD
- .......
TWILIO_PHONE_NUMBER
- Your Twilio Phone number (Twillio provides free credits for new users)
MY_PHONE_NUMBER
- The phone number we want to inform when our build failsTWILIO_ACCOUNT_SID
- Provided by Twillio
TWILIO_API_KEY
- Provided by Twillio
TWILIO_API_SECRET
- Provided by Twillio
## Usage
As a example, change the file itself and push it to master... Browse to github.com browse to the actions tab in your repo and the action should be running.
## Steps