Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/szolll/github_actions
Example of github actions, in action.
https://github.com/szolll/github_actions
docker github-actions
Last synced: about 2 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T13:25:20.000Z (4 months ago)
- Last Synced: 2024-11-05T19:06:41.800Z (3 months ago)
- Topics: docker, github-actions
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
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